CVE-2021-34636
📋 TL;DR
This CSRF vulnerability in the Countdown and CountUp WordPress plugin allows attackers to trick authenticated administrators into executing malicious actions without their consent. Attackers can inject arbitrary web scripts through the save_theme function, potentially compromising WordPress sites. All WordPress installations using this plugin version 1.5.7 or earlier are affected.
💻 Affected Systems
- Countdown and CountUp, WooCommerce Sales Timers WordPress plugin
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Complete site takeover through privilege escalation, data theft, or malware injection leading to widespread compromise of all site visitors.
Likely Case
Unauthorized theme modifications, script injection leading to defacement, cookie theft, or redirection to malicious sites.
If Mitigated
No impact if proper CSRF protections are implemented and users follow security best practices.
🎯 Exploit Status
Exploitation requires social engineering to trick authenticated admin users. CSRF attacks are well-understood and easily weaponized.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.5.8 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/2605523/countdown-wpdevart-extended/trunk/includes/admin/coundown_theme_page.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Countdown and CountUp, WooCommerce Sales Timers'. 4. Click 'Update Now' if available, or delete and reinstall latest version. 5. Verify version is 1.5.8 or higher.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily disable the plugin until patched version is available
wp plugin deactivate countdown-wpdevart-extended
Implement CSRF protection middleware
allAdd WordPress nonce verification to all admin actions
🧯 If You Can't Patch
- Restrict admin access to trusted networks only
- Implement web application firewall with CSRF protection rules
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Countdown and CountUp plugin version. If version is 1.5.7 or lower, you are vulnerable.
Check Version:
wp plugin get countdown-wpdevart-extended --field=version
Verify Fix Applied:
Verify plugin version is 1.5.8 or higher in WordPress admin panel. Check that nonce verification is present in ~/includes/admin/coundown_theme_page.php.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to /wp-admin/admin-ajax.php with save_theme action
- Multiple failed nonce verification attempts
Network Indicators:
- CSRF attack patterns in web traffic
- Unexpected theme modification requests
SIEM Query:
source="wordpress" action="save_theme" AND NOT nonce_verified="true"
🔗 References
- https://plugins.trac.wordpress.org/changeset/2605523/countdown-wpdevart-extended/trunk/includes/admin/coundown_theme_page.php
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-34636
- https://plugins.trac.wordpress.org/changeset/2605523/countdown-wpdevart-extended/trunk/includes/admin/coundown_theme_page.php
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-34636