CVE-2024-12594

8.8 HIGH

📋 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

Products:
  • 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
Versions: All versions up to and including 7.1.1
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default plugin configuration. Any WordPress site with the vulnerable plugin installed is affected regardless of other security measures.

⚠️ 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.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. 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.

🌐 Internet-Facing: HIGH - WordPress sites are typically internet-facing, and the vulnerability requires only authenticated access which is easily obtained.
🏢 Internal Only: MEDIUM - Internal attackers with legitimate low-privilege accounts could exploit this to gain higher privileges.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

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

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3208192%40login-page-styler&new=3208192%40login-page-styler&sfp_email=&sfph_mail=

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

all

Temporarily disable the Custom Login Page Styler plugin until patched

wp plugin deactivate login-page-styler

Restrict user registration

all

Disable 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")

🔗 References

📤 Share & Export