id: wpdm-cache-session

info:
  name: Wpdm-Cache Session
  author: dhiyaneshDk
  severity: medium
  description: Leaked session of Wpdm Cache wordpress plugin.
  reference:
    - https://www.exploit-db.com/ghdb/7004
  metadata:
    max-request: 1
  tags: wordpress,edb,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/uploads/wpdm-cache/'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Index of /"
          - ".txt"
          - "wpdm-cache"
        condition: and
        part: body

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