Apache HTTP Server UTF-7 cross-site scripting
| apache-utf7-xss (36586) |
Description:
Apache HTTP Server is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by mod_autoindex.c. A remote attacker could exploit this vulnerability using the UTF-7 charset option to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
Platforms Affected:
- Apache, HTTP Server 2.0
- Apache, HTTP Server 2.0 A9
- Apache, HTTP Server 2.0.28 Beta
- Apache, HTTP Server 2.0.28
- Apache, HTTP Server 2.0.32 Beta
- Apache, HTTP Server 2.0.32
- Apache, HTTP Server 2.0.34 Beta
- Apache, HTTP Server 2.0.35
- Apache, HTTP Server 2.0.36
- Apache, HTTP Server 2.0.37
- Apache, HTTP Server 2.0.38
- Apache, HTTP Server 2.0.39
- Apache, HTTP Server 2.0.40
- Apache, HTTP Server 2.0.41
- Apache, HTTP Server 2.0.42
- Apache, HTTP Server 2.0.43
- Apache, HTTP Server 2.0.44
- Apache, HTTP Server 2.0.45
- Apache, HTTP Server 2.0.46
- Apache, HTTP Server 2.0.47
- Apache, HTTP Server 2.0.48
- Apache, HTTP Server 2.0.49
- Apache, HTTP Server 2.0.50
- Apache, HTTP Server 2.0.51
- Apache, HTTP Server 2.0.52
- Apache, HTTP Server 2.0.53
- Apache, HTTP Server 2.0.54
- Apache, HTTP Server 2.0.55
- Apache, HTTP Server 2.0.56
- Apache, HTTP Server 2.0.56 Dev
- Apache, HTTP Server 2.0.57
- Apache, HTTP Server 2.0.58
- Apache, HTTP Server 2.0.59
- Apache, HTTP Server 2.0.60 Dev
- Apache, HTTP Server 2.0.61 Dev
- Apache, HTTP Server 2.1
- Apache, HTTP Server 2.1.1
- Apache, HTTP Server 2.1.2
- Apache, HTTP Server 2.1.3
- Apache, HTTP Server 2.1.4
- Apache, HTTP Server 2.1.5
- Apache, HTTP Server 2.1.6
- Apache, HTTP Server 2.1.7
- Apache, HTTP Server 2.1.8
- Apache, HTTP Server 2.2
- Apache, HTTP Server 2.2.1
- Apache, HTTP Server 2.2.2
- Apache, HTTP Server 2.2.3
- Apache, HTTP Server 2.2.4
- Apache, HTTP Server 2.2.5 Dev
- Apple, Mac OS X Server 10.5.2
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Gentoo, Linux
- Hitachi, Hitachi Web Server for AIX 03-00 to 03-00-01
- Hitachi, Hitachi Web Server for AIX 03-10
- Hitachi, Hitachi Web Server for HP-UX (IPF) 03-00
- Hitachi, Hitachi Web Server for HP-UX 11.00 03-00
- Hitachi, Hitachi Web Server for Linux 03-00 to 03-00-01
- Hitachi, Hitachi Web Server for Linux 03-10
- Hitachi, Hitachi Web Server for Linux (IPF) 03-00 to 03-00-01
- Hitachi, Hitachi Web Server for Solaris 03-00
- Hitachi, uCosminexus Appl Serv Ent HP-UX IPF 07-00
- Hitachi, uCosminexus Application Serv Ent AIX 07-00
- Hitachi, uCosminexus Application Serv Ent AIX 07-10
- Hitachi, uCosminexus Application Serv Ent AIX 07-50 to 07-50-01
- Hitachi, uCosminexus Application Serv Ent HP-UX 07-10 to 07-10-01
- Hitachi, uCosminexus Application Serv Ent Linux 07-00 to 07-00-01
- Hitachi, uCosminexus Application Serv Ent Linux 07-10
- Hitachi, uCosminexus Application Serv Ent Linux 07-50 to 07-50-01
- Hitachi, uCosminexus Application Serv Ent Solaris 07-00 to 07-00-01
- Hitachi, uCosminexus Application Serv Ent Solaris 07-10
- Hitachi, uCosminexus Application Serv Std HP-UX 07-10 to 07-10-01
- Hitachi, uCosminexus Application Server AIX 07-00
- Hitachi, uCosminexus Application Server AIX 07-10
- Hitachi, uCosminexus Application Server AIX 07-50 to 07-50-01
- Hitachi, uCosminexus Application Server HP-UX IPF 07-00
- Hitachi, uCosminexus Application Server HP-UX IPF 07-10 to 07-10-01
- Hitachi, uCosminexus Application Server Linux 07-50 to 07-50-01
- Hitachi, uCosminexus Application Server Linux IPF 07-10 to 07-10-01
- Hitachi, uCosminexus Application Server Solaris 07-00 to 07-00-01
- Hitachi, uCosminexus Application Server Solaris 07-10
- Hitachi, uCosminexus Application Server Std Linux 07-00 - 07-00-01
- Hitachi, uCosminexus Application Server Std Linux 07-10
- Hitachi, uCosminexus Application SrvEnt HP-UX IPF 07-10 to 07-10-01
- Hitachi, uCosminexus Application SrvEnt Linux IPF 07-10 to 07-10-01
- Hitachi, uCosminexus Service Platform Linux 07-00
- Hitachi, uCosminexus Service Platform Linux 07-10
- Hitachi, uCosminexus Service Platform Linux 07-50
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- Novell, Linux Desktop 9
- Novell, Linux Desktop 9 SDK
- Novell, Linux POS 9
- Novell, Open Enterprise Server
- Novell, Open Enterprise Server
- Novell, OpenSUSE 10.2
- Novell, OpenSUSE 10.3
- Novell, SLE SDK 10 SP1
- Novell, SUSE Linux Enterprise Desktop 10 SP1
- Novell, SUSE Linux Enterprise Server 10
- Novell, SUSE Linux Enterprise Server 10 SP1
- RedHat, Application Stack v1 for EL AS 4
- RedHat, Application Stack v1 for EL ES 4
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client Workstation
- RedHat, Enterprise Linux 5 Client
- RedHat, Linux Advanced Workstation 2.1 Itanium
- RedHat, Network Proxy 4.2
- RedHat, Network Satellite Server 4.2
- RedHat, Network Satellite Server 5.0
- RedHat, RHEL Application Stack 2
- SuSE, SLE SDK 10
- SuSE, SuSE Linux 10.0
- SuSE, SuSE Linux 10.1
- SuSE, SuSE SLES 9
- Turbolinux, Turbolinux 10 Server
- Turbolinux, Turbolinux 10 Server x64 Ed
- Turbolinux, Turbolinux 11 Server
- Turbolinux, Turbolinux 11 Server x64 Ed
- Turbolinux, Turbolinux FUJI
- Turbolinux, Turbolinux Multimedia
- Turbolinux, Turbolinux Personal
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
- Turbolinux, Turbolinux Appliance Server 2.0
Remedy:
Upgrade to the latest version of Apache HTTP Server (2.2.6 or later), available from the Apache Web site. See References.
For Mac OS X:
Apply Security Update 2008-003, available from the Apple Web site. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- Apache Web site, Welcome! - The Apache Software Foundation at http://www.apache.org/.
- Apple Web site, About the security content of Security Update 2008-003 / Mac OS X 10.5.3 at http://support.apple.com/kb/HT1897.
- BugTraq Mailing List, Wed Sep 12 2007 - 15:04:18 CDT, Apache2 Undefined Charset UTF-7 XSS Vulnerability at http://archives.neohapsis.com/archives/bugtraq/2007-09/0129.html.
- HS07-041, Cross-Site Scripting Vulnerability When Using the DirectoryIndex function in Hitachi Web Server at http://www.hitachi-support.com/security_e/vuls_e/HS07-041_e/index-e.html.
- ASA-2008-026: httpd security update (RHSA-2008-0005)
- ASA-2008-027: httpd security update (RHSA-2008-0007)
- ASA-2008-031: Apache security update (RHSA-2008-0004)
- ASA-2008-032: httpd security update (RHSA-2008-0006)
- BID-25653: Apache Mod_AutoIndex.C Undefined Charset Cross-Site Scripting Vulnerability
- CVE-2007-4465: Cross-site scripting (XSS) vulnerability in mod_autoindex.c in the Apache HTTP Server before 2.2.6, when the charset on a server-generated page is not defined, allows remote attackers to inject arbitrary web script or HTML via the P parameter using the UTF-7 charset. NOTE: it could be argued that this issue is due to a design limitation of browsers that attempt to perform automatic content type detection.
- FrSIRT/ADV-2008-1697: Apple Mac OS X Command Execution and Security Bypass Issues
- GLSA-200711-06: Apache: Multiple vulnerabilities
- MDKSA-2007:235: Updated apache packages fix vulnerabilities
- MDVSA-2008:014: Updated apache 1.3.x packages fix multiple vulnerabilities
- RHSA-2007-0911: Moderate: httpd security update
- RHSA-2008-0004: Moderate: apache security update
- RHSA-2008-0005: Moderate: httpd security update
- RHSA-2008-0006: Moderate: httpd security update
- RHSA-2008-0008: Moderate: httpd security update
- RHSA-2008-0261: Moderate: Red Hat Network Satellite Server security update
- RHSA-2008-0523: Low: Red Hat Network Proxy Server security update
- RHSA-2008-0524: Low: Red Hat Network Satellite Server security update
- SA28082: Hitachi Web Server Cross-Site Scripting Vulnerabilities
- SA28607: Avaya Products httpd Multiple Vulnerabilities
- SA30430: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1019194: Apache Input Validation Hole in Mod_AutoIndex When the Character Set is Undefined May Permit Cross-Site Scripting Attacks
- SUSE-SA:2007:061: Apache2 security issues
Reported:
Sep 11, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
