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.
  impact: |
    Unauthenticated attackers can access sensitive files stored in the download-manager-files directory due to directory listing, potentially exposing confidential documents or data.
  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.0046
    epss-percentile: 0.37584
  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,vuln

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