id: wpmudev-pub-keys

info:
  name: Wpmudev Dashboard Pub Key
  author: dhiyaneshDk
  severity: medium
  description: Wpmudev Wordpress Plugin public key leaked.
  reference:
    - https://www.exploit-db.com/ghdb/6443
  metadata:
    max-request: 1
  tags: wordpress,edb

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/wpmudev-updates/keys/'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Index of /"
          - ".pub"
          - "wpmudev"
        condition: and
        part: body

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