id: CVE-2024-13126

info:
  name: WordPress Download Manager < 3.3.07 - Unauthenticated Data Exposure
  author: ritikchaddha
  severity: medium
  description: |
    The WordPress Download Manager plugin before version 3.3.07 does not prevent directory listing on web servers that don't use htaccess, allowing unauthorized access to files stored in the download-manager-files directory.
  remediation: |
    Update the WordPress Download Manager plugin to version 3.3.07 or later.
  reference:
    - https://wpscan.com/vulnerability/c2c69a44-4ecc-41d1-a10c-cfe9c875b803/
    - https://research.cleantalk.org/cve-2024-13126/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-13126
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2024-13126
    cwe-id: CWE-552
    epss-score: 0.00682
    epss-percentile: 0.67735
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="wp-content/plugins/download-manager/"
    google-query: inurl:"/wp-content/plugins/download-manager/"
    shodan-query: html:"wp-content/plugins/download-manager/"
  tags: cve,cve2024,wp,wordpress,wp-plugin,directory-listing,download-manager

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/download-manager-files/"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Index of /wp-content/uploads/download-"
          - "Last modified"
        condition: and
        case-insensitive: true

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