CVE-2024-53755
📋 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
- Andrea Pernici Third Party Cookie Eraser WordPress Plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
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
allTemporarily deactivate the Third Party Cookie Eraser plugin until patched version is available.
Implement CSRF Tokens
allAdd 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)