id: wp-woocommerce-pdf-invoice-listing info: name: Woocommerce - PDF Invoice Exposure author: mohammedsaneem,sec_hawk severity: medium description: A vulnerability in Woocommerce allows remote unauthenticated attackers to access company invoices and other sensitive information. reference: - https://twitter.com/sec_hawk/status/1426984595094913025?s=21 - https://github.com/Mohammedsaneem/wordpress-upload-information-disclosure/blob/main/worpress-upload.yaml - https://woocommerce.com/products/pdf-invoices/ classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N cvss-score: 5.3 cwe-id: CWE-200 metadata: max-request: 1 tags: wordpress,listing,exposure,woocommerce http: - method: GET path: - "{{BaseURL}}/wp-content/uploads/pdf-invoices/" matchers-condition: and matchers: - type: word words: - "Index of /wp-content/uploads/pdf-invoices" - "Parent Directory" - ".pdf" condition: and - type: status status: - 200 # digest: 4a0a0047304502203e2d4a0f830157f6d5a1b6b5a1a2c76ee76adf39f3cbf5b56484b80c38df7b36022100bc8fa46a62782f8b17568c62c75d1ea7edfff3e4b9670e24e56d59c3e174b735:922c64590222798bb761d5b6d8e72950