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.87403
    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: 490a004630440220401cf576c2741ce93eb2b46764517ca72a2c54f1e3b4bc178204261f7bae5a5302204214d6ba30d7f09e325e86e470d21d284c03ea0095f258d82746a45ccfe91158:922c64590222798bb761d5b6d8e72950