id: wp-123contactform-plugin-listing

info:
  name: WordPress 123ContactForm Plugin Directory Listing
  author: pussycat0x
  severity: info
  description: Searches for sensitive directories present in the 123contactform-for-wordpress plugin.
  reference:
    - https://blog.sucuri.net/2021/01/critical-vulnerabilities-in-123contactform-for-wordpress-wordpress-plugin.html
    - https://www.exploit-db.com/ghdb/6979
  metadata:
    max-request: 1
  tags: wordpress,listing,plugin,edb

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/123contactform-for-wordpress/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Index of"
          - "/123contactform-for-wordpress"
        condition: and

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