Apache Tomcat JSP example Web application cross-site scripting

tomcat-example-xss (34869) The risk level is classified as MediumMedium Risk

Description:

Apache Tomcat is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the JSP example Web application. A remote attacker could exploit this vulnerability 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.

*CVSS:

Base Score: 4.2
  Access Vector: Remote
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: None
 
Temporal Score: 3.7
  Exploitability: High
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Apache Tomcat (6.0.HEAD, 5.5.HEAD, 5.0.HEAD, or 4.1.HEAD or later), available from the Apache Tomcat Web site. See References.

For Red Hat Linux (tomcat):
Refer to RHSA-2007:0569 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • Apache Tomcat Web site: JSP Cross-site scripting: Fixed in Apache Tomcat 6.0.HEAD .
  • BugTraq Mailing List, Wed Jun 13 2007 - 21:24:09 CDT: Apache Tomcat XSS vulnerabilities in the JSP examples.
  • CA Security Response Blog, Jan 23 2009, 06:04 PM: CA20090123-01: Cohesion Tomcat Multiple Vulnerabilities .
  • CA20090123-01: Security Notice for Cohesion Tomcat.
  • HPSBUX02262 SSRT071447: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS).
  • Novell Document ID: 7006398: Tomcat 5.0.28 in ZLM 7.3 subject to "Multiple Vendor Multiple HTTP Request Smuggling Vulnerabilities".
  • ASA-2007-416: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS) (HPSBUX02262)
  • ASA-2007-427: tomcat security update (RHSA-2007-0876)
  • BID-24476: Apache Tomcat JSP Example Web Applications Cross Site Scripting Vulnerability
  • CVE-2007-2449: Multiple cross-site scripting (XSS) vulnerabilities in certain JSP files in the examples web application in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0 through 4.1.36, 5.0.0 through 5.0.30, 5.5.0 through 5.5.24, and 6.0.0 through 6.0.13 allow remote attackers to inject arbitrary web script or HTML via the portion of the URI after the ';' character, as demonstrated by a URI containing a snp/snoop.jsp; sequence.
  • MDKSA-2007:241: Updated tomcat5 packages fix multiple vulnerabilities
  • RHSA-2007-0569: Moderate: tomcat security update
  • RHSA-2007-0876: Moderate: tomcat security update
  • RHSA-2008-0261: Moderate: Red Hat Network Satellite Server security update
  • RHSA-2008-0524: Low: Red Hat Network Satellite Server security update
  • RHSA-2008-0630: Low: Red Hat Network Satellite Server security update
  • SA30802: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SA33668: CA Cohesion Application Configuration Manager Apache Tomcat Multiple Vulnerabilities
  • SA40425: Novell ZENworks Linux Management Tomcat Multiple Vulnerabilities
  • SECTRACK ID: 1018245: Tomcat Input Validation Holes in the JSP Examples, Manager, and Host Manager Permit Cross-Site Scripting Attacks
  • SUSE-SR:2008:007: SUSE Security Summary Report
  • SUSE-SR:2009:004: SUSE Security Summary Report
  • VUPEN/ADV-2007-2213: Apache Tomcat Multiple Web Applications Client-Side Cross Site Scripting Issues
  • VUPEN/ADV-2007-3386: HP-UX Apache Code Execution and Cross Site Scripting Vulnerabilities
  • VUPEN/ADV-2008-1981: Apple Mac OS X Command Execution and Security Bypass Issues
  • VUPEN/ADV-2009-0233: CA Cohesion Apache Tomcat Multiple Security Bypass Vulnerabilities
  • VUPEN/ADV-2010-1736: Novell ZENworks Linux Management Tomcat Vulnerabilities

Platforms Affected:

  • Apache Tomcat 4.0.0
  • Apache Tomcat 4.0.1
  • Apache Tomcat 4.0.2
  • Apache Tomcat 4.0.3
  • Apache Tomcat 4.0.4
  • Apache Tomcat 4.0.5
  • Apache Tomcat 4.1.36
  • Apache Tomcat 5.0.0
  • Apache Tomcat 5.0.1
  • Apache Tomcat 5.0.10
  • Apache Tomcat 5.0.11
  • Apache Tomcat 5.0.12
  • Apache Tomcat 5.0.13
  • Apache Tomcat 5.0.14
  • Apache Tomcat 5.0.15
  • Apache Tomcat 5.0.16
  • Apache Tomcat 5.0.17
  • Apache Tomcat 5.0.18
  • Apache Tomcat 5.0.19
  • Apache Tomcat 5.0.2
  • Apache Tomcat 5.0.21
  • Apache Tomcat 5.0.22
  • Apache Tomcat 5.0.23
  • Apache Tomcat 5.0.24
  • Apache Tomcat 5.0.25
  • Apache Tomcat 5.0.26
  • Apache Tomcat 5.0.27
  • Apache Tomcat 5.0.28
  • Apache Tomcat 5.0.29
  • Apache Tomcat 5.0.3
  • Apache Tomcat 5.0.30
  • Apache Tomcat 5.0.4
  • Apache Tomcat 5.0.5
  • Apache Tomcat 5.0.6
  • Apache Tomcat 5.0.7
  • Apache Tomcat 5.0.8
  • Apache Tomcat 5.0.9
  • Apache Tomcat 5.5.0
  • Apache Tomcat 5.5.1
  • Apache Tomcat 5.5.10
  • Apache Tomcat 5.5.11
  • Apache Tomcat 5.5.12
  • Apache Tomcat 5.5.13
  • Apache Tomcat 5.5.14
  • Apache Tomcat 5.5.15
  • Apache Tomcat 5.5.16
  • Apache Tomcat 5.5.17
  • Apache Tomcat 5.5.18
  • Apache Tomcat 5.5.19
  • Apache Tomcat 5.5.2
  • Apache Tomcat 5.5.20
  • Apache Tomcat 5.5.21
  • Apache Tomcat 5.5.22
  • Apache Tomcat 5.5.3
  • Apache Tomcat 5.5.4
  • Apache Tomcat 5.5.5
  • Apache Tomcat 5.5.6
  • Apache Tomcat 5.5.7
  • Apache Tomcat 5.5.8
  • Apache Tomcat 5.5.9
  • Apache Tomcat 6.0.0
  • Apache Tomcat 6.0.1
  • Apache Tomcat 6.0.10
  • Apache Tomcat 6.0.11
  • Apache Tomcat 6.0.12
  • Apache Tomcat 6.0.13
  • Apache Tomcat 6.0.2
  • Apache Tomcat 6.0.3
  • Apache Tomcat 6.0.4
  • Apache Tomcat 6.0.5
  • Apache Tomcat 6.0.6
  • Apache Tomcat 6.0.7
  • Apache Tomcat 6.0.8
  • CA Cohesion Application Configuration Manager 4.5
  • CA Cohesion Application Configuration Manager 4.5 SP1
  • HP HP-UX B.11.11
  • HP HP-UX B.11.23
  • HP HP-UX B.11.31
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • Novell ZENworks Linux Management 7.3
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux Desktop 5.0
  • RedHat Network Satellite Server 4.2
  • RedHat Network Satellite Server 5.0
  • RedHat Network Satellite Server 5.1
  • RedHat RHEL Application Server 2

Reported:

Jun 13, 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 (IBM 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.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.