CVE-2024-12594
📋 TL;DR
This vulnerability in the Custom Login Page Styler WordPress plugin allows authenticated attackers with Subscriber-level access or higher to escalate privileges by logging in as other users. It affects all versions up to 7.1.1 due to a missing capability check on an AJAX action. Any WordPress site using the vulnerable plugin is at risk.
💻 Affected Systems
- Custom Login Page Styler – Login Protected Private Site , Change wp-admin login url , WordPress login logo , Temporary admin login access , Rename login , Login customizer, Hide wp-login – Limit Login Attempts – Locked Site 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
Attackers gain administrative access, allowing complete site takeover, data theft, malware injection, and further compromise of the hosting environment.
Likely Case
Attackers escalate from low-privilege accounts to higher privileges, potentially accessing sensitive data, modifying content, or installing backdoors.
If Mitigated
With proper access controls and monitoring, exploitation would be detected quickly and limited to isolated incidents.
🎯 Exploit Status
Exploitation requires authenticated access but only at Subscriber level, which is easily obtained through registration or compromised accounts. The vulnerability is straightforward to exploit once authenticated.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 7.1.2
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'Custom Login Page Styler'
4. Click 'Update Now' if available
5. Alternatively, download version 7.1.2+ from WordPress.org and manually update
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily disable the Custom Login Page Styler plugin until patched
wp plugin deactivate login-page-styler
Restrict user registration
allDisable new user registration to prevent attackers from obtaining Subscriber accounts
Update WordPress Settings → General → Membership to uncheck 'Anyone can register'
🧯 If You Can't Patch
- Disable the Custom Login Page Styler plugin immediately
- Implement strict access controls and monitor for unusual user privilege changes
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'Custom Login Page Styler' version 7.1.1 or lower
Check Version:
wp plugin get login-page-styler --field=version
Verify Fix Applied:
Verify plugin version is 7.1.2 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual AJAX requests to 'lps_generate_temp_access_url' action
- Sudden user privilege escalation events
- Multiple login attempts from same user with different accounts
Network Indicators:
- HTTP POST requests to /wp-admin/admin-ajax.php with action=lps_generate_temp_access_url
SIEM Query:
source="wordpress" AND (url_path="/wp-admin/admin-ajax.php" AND post_data="action=lps_generate_temp_access_url")