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