CVE-2024-53755

7.1 HIGH

📋 TL;DR

This CSRF vulnerability in the Third Party Cookie Eraser WordPress plugin allows attackers to trick authenticated administrators into performing actions that inject malicious scripts. When exploited, it enables stored cross-site scripting (XSS) attacks. WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Andrea Pernici Third Party Cookie Eraser WordPress Plugin
Versions: n/a through 1.0.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled and an authenticated administrator to trigger the CSRF.

⚠️ 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

Attackers could inject persistent malicious scripts that steal administrator credentials, deface websites, or redirect visitors to malicious sites.

🟠

Likely Case

Attackers create fake admin interfaces or forms that trick logged-in administrators into executing actions that inject malicious JavaScript payloads.

🟢

If Mitigated

With proper CSRF protections and input validation, the attack chain would be broken before reaching the XSS stage.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires social engineering to trick an authenticated administrator into visiting a malicious page while logged in.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.0.2

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/third-party-cookie-eraser/vulnerability/wordpress-third-party-cookie-eraser-plugin-1-0-2-csrf-to-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Third Party Cookie Eraser'. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete the plugin.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily deactivate the Third Party Cookie Eraser plugin until patched version is available.

Implement CSRF Tokens

all

Add CSRF protection tokens to all plugin forms and actions if custom patching is possible.

🧯 If You Can't Patch

  • Remove the Third Party Cookie Eraser plugin completely from the WordPress installation.
  • Implement web application firewall (WAF) rules to block CSRF attempts and XSS payloads targeting this plugin.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Third Party Cookie Eraser' version 1.0.2 or earlier.

Check Version:

wp plugin list --name=third-party-cookie-eraser --field=version

Verify Fix Applied:

Verify plugin version is higher than 1.0.2 or the plugin is removed from the plugins directory.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin/admin-ajax.php with plugin-specific actions
  • Administrator accounts performing unexpected plugin configuration changes

Network Indicators:

  • CSRF attempts with missing or predictable nonce/token values
  • JavaScript payloads in plugin parameter values

SIEM Query:

source="wordpress.log" AND ("third-party-cookie-eraser" OR "tpce") AND (POST OR admin-ajax)

🔗 References

📤 Share & Export