SecurityContext

wp-cookie-law-info-fpd: WordPress Plugin GDPR Cookie Consent - Full Path Disclosure

  • Template: wp-cookie-law-info-fpd
  • Name: WordPress Plugin GDPR Cookie Consent - Full Path Disclosure
  • Description: WordPress GDPR Cookie Consent (cookie-law-info) plugin is vulnerable to full path disclosure via direct access to plugin files.
  • Severity: low
  • Authors: ritikchaddha
  • Tags: wp, wordpress, wp-plugin, fpd, gdpr, cookie, exposure, vuln
  • References: https://wordpress.org/plugins/cookie-law-info/
  • Verified: yes
  • Max requests: 3
  • Directory: http/misconfiguration
  • Path: http/misconfiguration/wordpress/wp-cookie-law-info-fpd.yaml
  • Digest: 4a0a00473045022100e74d9b2a71bcd0a26c125d4e46fde40ebd8357ca5d0601ec9666d1aabdbc853002204e02dcbbc57b48a0afc7e353e96bdcb787215c721ec4a9821dace8099a3d5afa
  • Created at: 2025-12-17T11:33:34Z
  • Updated at: 2026-09-08T09:47:47Z
  • Age in days: 343
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/wordpress/wp-cookie-law-info-fpd.yaml
  • Checked, none or zero: cves
  • Not known: impact, remediation

Classification

  • Checked, none or zero: cwe
  • Not known: cvss score, cvss vector, epss score, epss percentile, cpe

Metadata

  • Fofa-query: body="/wp-content/plugins/cookie-law-info/"
  • Framework: wordpress
  • Max-request: 3
  • Product: cookie-law-info
  • Vendor: developer
  • Verified: yes

Products

ProductIndexedUrl
developer:cookie-law-infono—

Labels

  • Name: WordPress GDPR Cookie Consent - Full Path Disclosure
  • Impact: Attackers can obtain the full server path, aiding further attacks such as local file inclusion or information gathering.
  • Remediation: Update to the latest version of the GDPR Cookie Consent plugin.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: wp-cookie-law-info-fpd

info:

name: WordPress Plugin GDPR Cookie Consent - Full Path Disclosure

author: ritikchaddha

severity: low

description: |

WordPress GDPR Cookie Consent (cookie-law-info) plugin is vulnerable to full path disclosure via direct access to plugin files.

reference:

- https://wordpress.org/plugins/cookie-law-info/

metadata:

verified: true

max-request: 3

vendor: developer

product: cookie-law-info

framework: wordpress

fofa-query: body="/wp-content/plugins/cookie-law-info/"

tags: wp,wordpress,wp-plugin,fpd,gdpr,cookie,exposure,vuln

http:

- method: GET

path:

- "{{BaseURL}}/wp-content/plugins/cookie-law-info/includes/class-cookie-law-info.php"

- "{{BaseURL}}/wp-content/plugins/cookie-law-info/admin/class-cookie-law-info-admin.php"

- "{{BaseURL}}/wp-content/plugins/cookie-law-info/legacy/class-cookie-law-info.php"

stop-at-first-match: true

matchers:

- type: dsl

dsl:

- 'status_code == 200 || status_code == 500'

- 'contains(body, "cookie-law-info")'

- 'contains_all(body, "Fatal error", "Uncaught Error:") || contains_all(body, "Warning:","failed to open stream")'

condition: and

digest: 4a0a00473045022100e74d9b2a71bcd0a26c125d4e46fde40ebd8357ca5d0601ec9666d1aabdbc853002204e02dcbbc57b48a0afc7e353e96bdcb787215c721ec4a9821dace8099a3d5afa:922c64590222798bb761d5b6d8e72950

```