Listen to this Post
The vulnerability exists within the WP Directory Kit plugin for WordPress, specifically in the `wdk_generate_auto_login_link` function responsible for creating automatic login links. This function implements an authentication algorithm that relies on a cryptographically weak token generation mechanism. The token generation process is predictable and does not use sufficient entropy or randomness. Consequently, the auto-login tokens produced can be guessed or calculated by an attacker without prior knowledge. The plugin’s auto-login endpoint does not properly validate the strength or uniqueness of these tokens. An unauthenticated attacker can therefore craft a request to the public auto-login endpoint using a predicted token. By successfully predicting a valid token, the attacker bypasses all authentication checks. The endpoint then grants the privileges associated with the generated link, which typically includes administrative access. This flaw is present in every version of the plugin up to and including version 1.4.4. The core issue is the failure to use a secure random number generator for token creation. Attackers can exploit this by brute-forcing tokens or reverse-engineering the generation logic. The predictable pattern makes it feasible to compromise any site using the vulnerable plugin quickly. Once the auto-login link is accessed with a valid token, the attacker is logged in as an administrator. This results in a complete site takeover, allowing full control over the WordPress installation. The vulnerability stems from incorrect security implementation rather than a complex software bug. It highlights the danger of using non-cryptographic functions for security purposes. The auto-login feature, intended for convenience, becomes a critical backdoor. Exploiting this requires no user interaction or prior access to the target system. The simplicity of the attack increases its severity and potential for widespread abuse.
Platform: WordPress
Version: Up to 1.4.4
Vulnerability: Authentication Bypass
Severity: Critical
date: 12/03/2025
Prediction: Unknown
What Undercode Say:
Showing bash commands and codes related to the blog
Example of a weak token generation pattern (conceptual)
$token = md5( time() . $user_id ); // Predictable source
curl -X GET “https://target.site/?wdk_auto_login=
How Exploit:
Predict auto-login token. Craft HTTP request. Gain admin access.
Protection from this CVE
Update plugin immediately. Apply vendor patch.
Impact:
Full site takeover. Administrative access compromised.
🎯Let’s Practice Exploiting & Learn Patching For Free:
Sources:
Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

