CVE-2024-54380

7.5 HIGH

📋 TL;DR

This path traversal vulnerability in the WP Cookies Enabler WordPress plugin allows attackers to include local PHP files via directory traversal sequences. It affects all WordPress sites running WP Cookies Enabler version 1.0.1 or earlier. Successful exploitation could lead to sensitive file disclosure or remote code execution.

💻 Affected Systems

Products:
  • WP Cookies Enabler WordPress Plugin
Versions: 1.0.1 and earlier
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with vulnerable plugin versions enabled.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete site compromise, data theft, and server takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials) and limited code execution.

🟢

If Mitigated

Unauthorized file read of non-sensitive files if proper file permissions are configured.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Path traversal vulnerabilities are commonly exploited and require minimal technical skill.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wp-cookies-enabler/vulnerability/wordpress-wp-cookies-enabler-plugin-1-0-1-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP Cookies Enabler. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin, then install fresh version from WordPress repository.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched version is available.

wp plugin deactivate wp-cookies-enabler

Web Application Firewall Rule

all

Block path traversal sequences in web requests.

# Add WAF rule to block ../ sequences in URL parameters

🧯 If You Can't Patch

  • Remove plugin completely and use alternative cookie consent solution
  • Implement strict file permissions and disable PHP execution in upload directories

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP Cookies Enabler version 1.0.1 or earlier.

Check Version:

wp plugin get wp-cookies-enabler --field=version

Verify Fix Applied:

Verify plugin version is 1.0.2 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests containing ../ sequences
  • Access to unexpected PHP files
  • Failed file inclusion attempts

Network Indicators:

  • Unusual file paths in URL parameters
  • Requests to plugin-specific endpoints with traversal sequences

SIEM Query:

web.url:*../* AND (web.url:*wp-cookies-enabler* OR web.url:*cookies-enabler*)

🔗 References

📤 Share & Export