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,vuln

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: 490a0046304402207bb0ee64adebf1b1aba4586bebcd724fac0598eb6c648886e4a5cf3f9358e58a022039f6c79162d59375a5d458e8442b49fa53633b52baa1179de044afc88a3c6274:922c64590222798bb761d5b6d8e72950