CVE-2025-13138

7.5 HIGH

📋 TL;DR

This SQL injection vulnerability in the WP Directory Kit WordPress plugin allows unauthenticated attackers to inject malicious SQL queries through the 'columns_search' parameter. Attackers can extract sensitive information from the database, including user credentials, personal data, and other confidential information. All WordPress sites using WP Directory Kit version 1.4.3 or earlier are affected.

💻 Affected Systems

Products:
  • WP Directory Kit WordPress Plugin
Versions: All versions up to and including 1.4.3
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in default plugin configuration. No special configuration required for exploitation.

⚠️ 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 database compromise leading to data theft, privilege escalation, and potential site takeover.

🟠

Likely Case

Extraction of sensitive user data, admin credentials, and other database contents.

🟢

If Mitigated

Limited information disclosure if database permissions are properly restricted.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

SQL injection via HTTP parameters is well-understood and easily weaponized. No authentication required.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.4.4 or later

Vendor Advisory: https://wordpress.org/plugins/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.4 or higher.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate wpdirectorykit

Web Application Firewall Rule

all

Block SQL injection attempts targeting the vulnerable parameter

Add WAF rule to block requests containing SQL injection patterns in 'columns_search' parameter

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries at application level
  • Restrict database user permissions to minimum required privileges

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > WP Directory Kit version. If version is 1.4.3 or earlier, system is vulnerable.

Check Version:

wp plugin get wpdirectorykit --field=version

Verify Fix Applied:

Verify WP Directory Kit version is 1.4.4 or higher in WordPress admin plugins page.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed SQL injection attempts in web server logs
  • Requests with SQL keywords in 'columns_search' parameter

Network Indicators:

  • HTTP POST requests with SQL injection payloads in parameters
  • Unusual database connection patterns from web server

SIEM Query:

source="web_logs" AND ("columns_search" AND ("UNION" OR "SELECT" OR "INSERT" OR "UPDATE" OR "DELETE" OR "DROP" OR "OR 1=1"))

🔗 References

📤 Share & Export