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.0333
    epss-percentile: 0.87042
    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: 4a0a00473045022006c2c7987f4c0227c969023732e09c31007ac49caf75f540cc804145c99b7be1022100ad04b099abe032b28ec6d80249b55b5745a82475e847b694ef17bf0cf7d63f8d:922c64590222798bb761d5b6d8e72950