id: CVE-2023-6505

info:
  name: Prime Mover < 1.9.3 - Sensitive Data Exposure
  author: s4e-io
  severity: high
  description: |
    Prime Mover plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.9.2 via directory listing in the 'prime-mover-export-files/1/' folder. This makes it possible for unauthenticated attackers to extract sensitive data including site and configuration information, directories, files, and password hashes.
  impact: |
    Unauthenticated attackers can exploit directory listing to access export files containing sensitive site configuration data, database information, and password hashes from WordPress Prime Mover installations.
  remediation: |
    Fixed in 1.9.3
  reference:
    - https://wpscan.com/vulnerability/eca6f099-6af0-4f42-aade-ab61dd792629
    - https://research.cleantalk.org/cve-2023-6505-prime-mover-poc-exploit/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-6505
  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-6505
    epss-score: 0.73778
    epss-percentile: 0.98842
    cpe: cpe:2.3:a:codexonics:prime_mover:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: codexonics
    product: prime_mover
    framework: wordpress
    fofa-query: body="/wp-content/plugins/prime-mover"
  tags: cve,cve2023,wp,wp-plugin,wordpress,exposure,prime-mover,listing,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/prime-mover-export-files/1/"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Index of /wp-content/uploads/prime-mover-export-files/1"
          - ".wprime"
        condition: or

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