CVE-2007-2449: XSS

Published Jun 14, 2007
·
Updated

According to http://tomcat.apache.org/security-5.html

low: Cross-site scripting CVE-2007-2449

JSPs within the examples web application did not escape user provided data before including it in the output. This enabled a XSS attack. These JSPs now filter the data before use. This issue may be mitigated by undeploying the examples web application. Note that it is recommended that the examples web application is not installed on a production system.

Affects: 5.0.0-5.0.30, 5.5.0-5.5.24

example: http://host:port/jsp-examples/snp/snoop.jsp;<script>alert()</script>test.jsp

Other sources

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.

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.

Affected Software

78 affected componentsFixes available
maven/org.apache.tomcat:tomcat>=6.0.0<=6.0.13
maven/org.apache.tomcat:tomcat>=5.5.0<=5.5.24
maven/org.apache.tomcat:tomcat>=5.0.0<=5.0.30
maven/org.apache.tomcat:tomcat>=4.0.0<=4.0.6
Apache Tomcat<=4.1.36
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=5.0.0
Apache Tomcat=5.0.1
Apache Tomcat=5.0.2
Apache Tomcat=5.0.3
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.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.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.30
Apache Tomcat=5.5.0
Apache Tomcat=5.5.1
Apache Tomcat=5.5.2
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=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.20
Apache Tomcat=5.5.21
Apache Tomcat=5.5.22
Apache Tomcat=6.0.0
Apache Tomcat=6.0.1
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
Apache Tomcat=6.0.10
Apache Tomcat=6.0.11
Apache Tomcat=6.0.12
Apache Tomcat=6.0.13
redhat/5.5.25<1
1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/5.5.25 to a version that resolves this vulnerability.

    Fixed in 1
  2. Compensating control

    Undeploy the examples web application to mitigate the issue.

  3. Compensating control

    Filter user-provided data before using it or including it in JSP output.

Event History

Jun 14, 2007
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Data Sourced
11:30 PM
DescriptionWeaknessAffected Software
Jun 15, 2007
CVE Published
via MITRE·03:00 AM
Jun 19, 2007
Data Sourced
via Red Hat·09:56 AM
DescriptionSeverityAffected Software
Mar 25, 2019
Data Sourced
11:29 AM
RemedySeverity
May 1, 2022
Advisory Published
06:03 PM
Sep 22, 2023
Advisory Published
09:05 PM
Jun 16, 2026
Data Sourced
via NVD·10:39 PM
RemedyDescriptionSeverityAffected Software
Updated
via NVD·10:39 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2007-2449?

The severity of CVE-2007-2449 is classified as medium due to its potential for cross-site scripting attacks.

2

How do I fix CVE-2007-2449?

To fix CVE-2007-2449, upgrade to a version of Apache Tomcat that is not affected, such as versions later than 6.0.13.

3

What versions of Apache Tomcat are affected by CVE-2007-2449?

CVE-2007-2449 affects Apache Tomcat versions from 4.0.0 to 6.0.13 inclusive.

4

What types of attacks can be executed due to CVE-2007-2449?

CVE-2007-2449 allows remote attackers to perform cross-site scripting (XSS) attacks by injecting arbitrary web scripts or HTML.

5

Are there any workarounds for CVE-2007-2449?

Temporary workarounds for CVE-2007-2449 may include sanitizing user inputs and validating output to mitigate the risk of XSS attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203