CVE-2025-13390

10.0 CRITICAL

📋 TL;DR

The WP Directory Kit WordPress plugin has an authentication bypass vulnerability that allows unauthenticated attackers to generate predictable auto-login tokens. This enables attackers to gain administrative access and achieve full site takeover. All WordPress sites using WP Directory Kit version 1.4.4 or earlier are affected.

💻 Affected Systems

Products:
  • WP Directory Kit WordPress Plugin
Versions: All versions up to and including 1.4.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Any WordPress site with the WP Directory Kit plugin installed and activated is vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete site compromise with administrative access, allowing data theft, defacement, malware injection, and backdoor installation.

🟠

Likely Case

Unauthenticated attackers gain administrative privileges and take control of the WordPress site.

🟢

If Mitigated

Attackers can still attempt exploitation but will be blocked by proper security controls and monitoring.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit code is available, making this easily weaponizable by attackers with minimal technical skill.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.4.5

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3400599/wpdirectorykit/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find WP Directory Kit and click 'Update Now'. 4. Verify version is 1.4.5 or later.

🔧 Temporary Workarounds

Disable WP Directory Kit Plugin

all

Temporarily disable the vulnerable plugin until patching is possible.

wp plugin deactivate wpdirectorykit

Block Auto-Lin Endpoint

linux

Use web application firewall or .htaccess to block access to the vulnerable endpoint.

RewriteEngine On
RewriteRule ^wp-content/plugins/wpdirectorykit/.*wdk_generate_auto_login_link.*$ - [F,L]

🧯 If You Can't Patch

  • Remove WP Directory Kit plugin completely from the WordPress installation
  • Implement strict network access controls and monitor for exploitation attempts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → WP Directory Kit version. If version is 1.4.4 or earlier, you are vulnerable.

Check Version:

wp plugin get wpdirectorykit --field=version

Verify Fix Applied:

After updating, verify WP Directory Kit version is 1.4.5 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-content/plugins/wpdirectorykit/ endpoints
  • Multiple failed login attempts followed by successful admin login from new IP
  • Administrative actions from unfamiliar IP addresses

Network Indicators:

  • HTTP requests containing 'wdk_generate_auto_login_link' in URL or parameters
  • Unusual traffic patterns to WordPress admin endpoints

SIEM Query:

source="web_logs" AND (uri_path="*wdk_generate_auto_login_link*" OR user_agent="*wpdirectorykit*")

🔗 References

📤 Share & Export