CVE-2025-2074
📋 TL;DR
This SQL injection vulnerability in the Advanced Google reCAPTCHA WordPress plugin allows authenticated attackers with Subscriber-level access or higher to execute arbitrary SQL queries. Attackers can extract sensitive information from the database when the plugin's settings page hasn't been visited and its welcome message hasn't been dismissed. All WordPress sites using vulnerable versions of this plugin are affected.
💻 Affected Systems
- Advanced Google reCAPTCHA 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
Complete database compromise including extraction of user credentials, sensitive site data, and potential privilege escalation to full administrative control.
Likely Case
Extraction of sensitive information like user emails, hashed passwords, and plugin configuration data leading to further attacks.
If Mitigated
Limited impact with proper network segmentation, database permissions, and monitoring in place.
🎯 Exploit Status
Requires authenticated access (Subscriber-level or higher). SQL injection is well-understood and easily weaponized.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.30 or later
Vendor Advisory: https://wordpress.org/plugins/advanced-google-recaptcha/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Advanced Google reCAPTCHA. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 1.30+ from WordPress.org and replace plugin files.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched.
wp plugin deactivate advanced-google-recaptcha
Visit Plugin Settings
allVisit the plugin settings page and dismiss welcome message to trigger condition that may mitigate vulnerability.
🧯 If You Can't Patch
- Restrict database user permissions to SELECT only for plugin database operations
- Implement web application firewall (WAF) rules to block SQL injection patterns
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Advanced Google reCAPTCHA → Version. If version is 1.29 or lower, you are vulnerable.
Check Version:
wp plugin get advanced-google-recaptcha --field=version
Verify Fix Applied:
Verify plugin version is 1.30 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual SQL queries in WordPress/database logs
- Multiple failed login attempts followed by plugin-specific requests
- Requests to /wp-admin/admin-ajax.php with suspicious sSearch parameters
Network Indicators:
- POST requests to admin-ajax.php with SQL injection patterns in parameters
- Unusual database connection patterns from web server
SIEM Query:
source="wordpress.log" AND ("sSearch" OR "admin-ajax.php") AND ("UNION" OR "SELECT" OR "INSERT" OR "DELETE" OR "--" OR "' OR '")
🔗 References
- https://plugins.trac.wordpress.org/browser/advanced-google-recaptcha/trunk/libs/admin.php?rev=3248228#L106
- https://plugins.trac.wordpress.org/browser/advanced-google-recaptcha/trunk/libs/ajax.php?rev=3248228#L20
- https://plugins.trac.wordpress.org/browser/advanced-google-recaptcha/trunk/libs/ajax.php?rev=3248228#L277
- https://plugins.trac.wordpress.org/browser/advanced-google-recaptcha/trunk/libs/ajax.php?rev=3248228#L401
- https://plugins.trac.wordpress.org/browser/advanced-google-recaptcha/trunk/libs/setup.php?rev=3248228#L636
- https://plugins.trac.wordpress.org/changeset/3262396/
- https://wordpress.org/plugins/advanced-google-recaptcha/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/963a9b30-9194-4abc-aa69-eb333cbddef3?source=cve