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

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