id: CVE-2023-45855

info:
  name: qdPM 9.2 - Directory Traversal
  author: DhiyaneshDk
  severity: high
  description: |
    qdPM 9.2 allows Directory Traversal to list files and directories by navigating to the /uploads URI.
  impact: |
    Successful exploitation could allow an attacker to read sensitive files on the server.
  remediation: |
    Upgrade qdPM to a non-vulnerable version to mitigate the directory traversal vulnerability.
  reference:
    - https://github.com/SunshineOtaku/Report-CVE/blob/main/qdPM/9.2/Directory%20Traversal.md
    - https://nvd.nist.gov/vuln/detail/CVE-2023-45855
    - https://qdpm.net
  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-2023-45855
    cwe-id: CWE-22
    epss-score: 0.00318
    epss-percentile: 0.70433
    cpe: cpe:2.3:a:qdpm:qdpm:9.2:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: qdpm
    product: qdpm
    shodan-query: "http.favicon.hash:762074255"
    fofa-query: "icon_hash=762074255"
  tags: cve,cve2023,qdpm,lfi

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Index of /uploads</title>"
          - "attachments/</a>"
        condition: and

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