CVE-2024-12126

6.1 MEDIUM

📋 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

Products:
  • SEO Keywords WordPress Plugin
Versions: All versions up to and including 1.1.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin activated.

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

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

all

Block or sanitize requests containing malicious script patterns in the google_error parameter

Plugin Deactivation

linux

Temporarily 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*)

🔗 References

📤 Share & Export