CVE-2024-12126
📋 TL;DR
The SEO Keywords WordPress plugin contains a reflected cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts via the 'google_error' parameter. This affects all WordPress sites using the plugin up to version 1.1.3. Attackers can exploit this by tricking users into clicking specially crafted links.
💻 Affected Systems
- SEO Keywords 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 steal session cookies, redirect users to malicious sites, perform actions on behalf of authenticated users, or deliver malware payloads.
Likely Case
Attackers will use this for session hijacking, credential theft, or redirecting users to phishing pages.
If Mitigated
With proper web application firewalls and browser security controls, impact is limited to individual user sessions.
🎯 Exploit Status
Exploitation requires social engineering to trick users into clicking malicious links.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.1.4 or later
Vendor Advisory: https://wordpress.org/plugins/seo-keywords/#developers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'SEO Keywords' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install fresh version from WordPress repository.
🔧 Temporary Workarounds
Web Application Firewall Rule
allBlock or sanitize requests containing malicious script patterns in the google_error parameter
Plugin Deactivation
linuxTemporarily disable the SEO Keywords plugin until patched
wp plugin deactivate seo-keywords
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution
- Use browser security features like XSS filters and disable JavaScript for untrusted sites
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for SEO Keywords version 1.1.3 or earlier
Check Version:
wp plugin get seo-keywords --field=version
Verify Fix Applied:
Confirm plugin version is 1.1.4 or later in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- HTTP requests containing script tags or JavaScript in google_error parameter
- Unusual redirects or outbound connections from user sessions
Network Indicators:
- Malicious URLs containing encoded script payloads in google_error parameter
SIEM Query:
http.url:*google_error* AND (http.url:*script* OR http.url:*javascript* OR http.url:*alert*)