Merge pull request #2396 from geeknik/patch-18

Create CVE-2021-37573.yaml
patch-1
Prince Chaddha 2021-08-14 14:43:11 +05:30 committed by GitHub
commit 09e48ac8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: CVE-2021-37573
info:
name: Tiny Java Web Server - Reflected XSS
author: geeknik
severity: medium
reference:
- https://seclists.org/fulldisclosure/2021/Aug/13
tags: cve,cve2021,xss,tjws
requests:
- method: GET
path:
- "{{BaseURL}}/te%3Cimg%20src=x%20onerror=alert(42)%3Est"
matchers-condition: and
matchers:
- type: status
status:
- 404
- type: word
part: body
words:
- "<H2>404 te<img src=x onerror=alert(42)>st not found</H2>"
- type: word
part: header
words:
- text/html