id: wordpress-woocommerce-listing

info:
  name: WordPress WooCommerce - Directory Search
  author: dhiyaneshDK
  severity: info
  description: WordPress WooCommerce plugin sensitive directory searches were conducted.
  reference:
    - https://www.exploit-db.com/ghdb/6192
  metadata:
    max-request: 1
  tags: edb,wordpress,listing,plugin,woocommerce

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/woocommerce/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Index of"
          - "/wp-content/plugins/woocommerce/"
        condition: and

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