CVE-2024-4295
📋 TL;DR
This vulnerability allows unauthenticated attackers to perform SQL injection attacks on WordPress sites using the Email Subscribers by Icegram Express plugin. Attackers can extract sensitive information from the database by manipulating the 'hash' parameter. All WordPress sites using vulnerable versions of this plugin are affected.
💻 Affected Systems
- Email Subscribers by Icegram Express WordPress Plugin
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Complete database compromise including user credentials, personal data, and administrative access leading to site takeover.
Likely Case
Extraction of sensitive subscriber data, user information, and potential privilege escalation.
If Mitigated
Limited or no impact with proper input validation and prepared statements in place.
🎯 Exploit Status
SQL injection via GET/POST parameters is well-understood and easily automated.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 5.7.21 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3090845/email-subscribers/trunk/lite/includes/db/class-es-db-lists-contacts.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'Email Subscribers by Icegram Express'
4. Click 'Update Now' if available
5. If no update available, download version 5.7.21+ from WordPress repository
6. Deactivate old plugin, upload new version, activate
🔧 Temporary Workarounds
Temporary Plugin Deactivation
allDisable the vulnerable plugin until patched
wp plugin deactivate email-subscribers
WAF Rule Implementation
allBlock SQL injection patterns targeting the 'hash' parameter
🧯 If You Can't Patch
- Implement web application firewall with SQL injection rules
- Restrict access to affected endpoints using .htaccess or nginx rules
🔍 How to Verify
Check if Vulnerable:
Check plugin version in WordPress admin under Plugins → Installed Plugins
Check Version:
wp plugin get email-subscribers --field=version
Verify Fix Applied:
Verify plugin version is 5.7.21 or higher after update
📡 Detection & Monitoring
Log Indicators:
- Unusual SQL queries in database logs
- Multiple requests with encoded 'hash' parameters
- 429 errors from failed injection attempts
Network Indicators:
- HTTP requests with SQL keywords in 'hash' parameter
- Unusual traffic patterns to plugin endpoints
SIEM Query:
source="web_logs" AND (uri_path="/wp-content/plugins/email-subscribers/" OR uri_path LIKE "%es=%") AND (query_string LIKE "%hash=%" AND (query_string LIKE "%UNION%" OR query_string LIKE "%SELECT%" OR query_string LIKE "%INSERT%"))
🔗 References
- https://plugins.trac.wordpress.org/changeset/3090845/email-subscribers/trunk/lite/includes/db/class-es-db-lists-contacts.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/641123af-1ec6-4549-a58c-0a08b4678f45?source=cve
- https://plugins.trac.wordpress.org/changeset/3090845/email-subscribers/trunk/lite/includes/db/class-es-db-lists-contacts.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/641123af-1ec6-4549-a58c-0a08b4678f45?source=cve