CVE-2024-3597
📋 TL;DR
The Export WP Page to Static HTML/CSS WordPress plugin contains an open redirect vulnerability that allows unauthenticated attackers to redirect users to malicious websites. This affects all versions up to and including 2.2.2. Attackers can exploit this by tricking users into clicking specially crafted links.
💻 Affected Systems
- Export WP Page to Static HTML/CSS WordPress plugin
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Users could be redirected to phishing sites that steal credentials or deliver malware, leading to account compromise or system infection.
Likely Case
Attackers redirect users to phishing pages to harvest login credentials or display malicious ads.
If Mitigated
With proper user awareness training and web application firewalls, the impact is limited to failed phishing attempts.
🎯 Exploit Status
Exploitation requires user interaction (clicking a link) but is technically simple to execute.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.2.3 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/export-wp-page-to-static-html/trunk/admin/class-export-wp-page-to-static-html-admin.php#L1289
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Go to Plugins → Installed Plugins. 3. Find 'Export WP Page to Static HTML/CSS'. 4. Click 'Update Now' if available, or manually update to version 2.2.3+. 5. Verify the plugin is active and functioning.
🔧 Temporary Workarounds
Disable the vulnerable plugin
allTemporarily deactivate the Export WP Page to Static HTML/CSS plugin until patched.
wp plugin deactivate export-wp-page-to-static-html
Web Application Firewall rule
allBlock requests containing the vulnerable rc_exported_zip_file parameter with external URLs.
🧯 If You Can't Patch
- Implement strict Content Security Policy (CSP) headers to restrict redirect destinations.
- Use a web application firewall to block malicious redirect patterns.
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'Export WP Page to Static HTML/CSS' version 2.2.2 or lower.
Check Version:
wp plugin get export-wp-page-to-static-html --field=version
Verify Fix Applied:
Confirm the plugin version is 2.2.3 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- HTTP requests containing 'rc_exported_zip_file' parameter with external domains in WordPress access logs
- Unusual redirect patterns in web server logs
Network Indicators:
- HTTP 302/301 redirects to unexpected external domains from WordPress sites
SIEM Query:
source="wordpress_access.log" AND rc_exported_zip_file AND NOT (url_domain="yourdomain.com" OR url_domain="trusteddomain.com")
🔗 References
- https://plugins.trac.wordpress.org/browser/export-wp-page-to-static-html/trunk/admin/class-export-wp-page-to-static-html-admin.php#L1289
- https://www.wordfence.com/threat-intel/vulnerabilities/id/598e2c2e-7dd5-435e-a366-6c7569243f2a?source=cve
- https://plugins.trac.wordpress.org/browser/export-wp-page-to-static-html/trunk/admin/class-export-wp-page-to-static-html-admin.php#L1289
- https://www.wordfence.com/threat-intel/vulnerabilities/id/598e2c2e-7dd5-435e-a366-6c7569243f2a?source=cve