CVE-2025-12139
📋 TL;DR
This vulnerability in the File Manager for Google Drive WordPress plugin exposes sensitive Google OAuth credentials and account email addresses to unauthenticated attackers. All WordPress sites using this plugin up to version 1.5.3 are affected, allowing attackers to potentially hijack Google Drive connections.
💻 Affected Systems
- File Manager for Google Drive – Integrate Google Drive with WordPress
⚠️ 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 obtain Google OAuth credentials, hijack Google Drive accounts, access sensitive files, and potentially pivot to other Google services.
Likely Case
Attackers steal Google OAuth credentials and email addresses, enabling unauthorized access to connected Google Drive accounts and data exfiltration.
If Mitigated
With proper network segmentation and monitoring, impact is limited to credential exposure requiring credential rotation and access review.
🎯 Exploit Status
Simple HTTP request to exposed endpoint reveals credentials without authentication.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.5.4 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3387825/integrate-google-drive
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'File Manager for Google Drive'
4. Click 'Update Now' if available
5. Or download version 1.5.4+ from WordPress repository
6. Deactivate and delete old version, then install new version
🔧 Temporary Workarounds
Immediate Plugin Deactivation
allTemporarily disable the vulnerable plugin to prevent exploitation
wp plugin deactivate integrate-google-drive
Web Application Firewall Rule
linuxBlock access to the vulnerable endpoint
# Add to .htaccess for Apache:
RewriteRule ^wp-content/plugins/integrate-google-drive/.*\.php$ - [F,L]
🧯 If You Can't Patch
- Immediately rotate all Google OAuth credentials (client_id and client_secret)
- Monitor Google Drive account access logs for unauthorized activity
🔍 How to Verify
Check if Vulnerable:
Check if plugin version is 1.5.3 or earlier in WordPress admin panel or via wp-cli: wp plugin get integrate-google-drive --field=version
Check Version:
wp plugin get integrate-google-drive --field=version
Verify Fix Applied:
Confirm plugin version is 1.5.4 or later and test that sensitive data is no longer exposed via the get_localize_data endpoint
📡 Detection & Monitoring
Log Indicators:
- HTTP requests to /wp-content/plugins/integrate-google-drive/ endpoints with parameters accessing sensitive data
- Unusual Google OAuth token generation or access patterns
Network Indicators:
- Unusual outbound connections to Google APIs from WordPress servers
- HTTP requests to plugin endpoints from unexpected IPs
SIEM Query:
source="web_server" AND (uri_path="/wp-content/plugins/integrate-google-drive/" OR user_agent CONTAINS "WordPress") AND status_code=200
🔗 References
- https://plugins.trac.wordpress.org/browser/integrate-google-drive/tags/1.5.3/includes/class-enqueue.php#L232
- https://plugins.trac.wordpress.org/browser/integrate-google-drive/tags/1.5.3/includes/class-enqueue.php#L243
- https://plugins.trac.wordpress.org/browser/integrate-google-drive/tags/1.5.3/includes/class-enqueue.php#L88
- https://plugins.trac.wordpress.org/changeset/3387825/integrate-google-drive
- https://www.wordfence.com/threat-intel/vulnerabilities/id/607073ad-3a4a-4a21-af0f-3ade81382605?source=cve