CVE-2024-10245

9.8 CRITICAL

📋 TL;DR

The Relais 2FA plugin for WordPress has an authentication bypass vulnerability that allows unauthenticated attackers to log in as any existing user, including administrators, if they know the user's email address. This affects all WordPress sites using Relais 2FA plugin version 1.0 or earlier. The vulnerability stems from improper authentication checks in the plugin's AJAX handler function.

💻 Affected Systems

Products:
  • Relais 2FA WordPress Plugin
Versions: All versions up to and including 1.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the Relais 2FA plugin active. The vulnerability requires the attacker to know a valid user email address on the site.

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

Complete site takeover where attackers gain administrative access, install backdoors, steal sensitive data, deface the site, or use it for further attacks.

🟠

Likely Case

Attackers gain administrative access to compromise the WordPress site, install malicious plugins/themes, or steal user data.

🟢

If Mitigated

Limited impact if strong network controls, web application firewalls, and monitoring are in place to detect and block exploitation attempts.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

The vulnerability is simple to exploit with just HTTP requests. Public proof-of-concept code exists in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.1 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/relais-2fa/trunk/relais.php?rev=2439540#L39

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Relais 2FA plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 1.1+ from WordPress plugin repository and manually update.

🔧 Temporary Workarounds

Disable Relais 2FA Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate relais-2fa

Web Application Firewall Rule

all

Block access to the vulnerable AJAX endpoint

Block POST requests to /wp-admin/admin-ajax.php with action=rl_do_ajax

🧯 If You Can't Patch

  • Disable the Relais 2FA plugin immediately
  • Implement strict network access controls and monitor for authentication bypass attempts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for Relais 2FA version 1.0 or earlier

Check Version:

wp plugin get relais-2fa --field=version

Verify Fix Applied:

Verify Relais 2FA plugin is updated to version 1.1 or later, or confirm plugin is deactivated

📡 Detection & Monitoring

Log Indicators:

  • Unusual authentication attempts via admin-ajax.php
  • Multiple failed login attempts followed by successful login from same IP
  • POST requests to /wp-admin/admin-ajax.php with action=rl_do_ajax

Network Indicators:

  • HTTP POST requests to WordPress admin-ajax.php endpoint with rl_do_ajax parameter
  • Unusual spikes in admin-ajax.php traffic

SIEM Query:

source="web_logs" AND uri="/wp-admin/admin-ajax.php" AND method="POST" AND params.action="rl_do_ajax"

🔗 References

📤 Share & Export