CVE-2025-13138
📋 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
- WP Directory Kit WordPress Plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
allTemporarily disable the vulnerable plugin until patched
wp plugin deactivate wpdirectorykit
Web Application Firewall Rule
allBlock 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
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/tags/1.4.3/application/controllers/Wdk_frontendajax.php#L546
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3396348%40wpdirectorykit&new=3396348%40wpdirectorykit&sfp_email=&sfph_mail=
- https://wordpress.org/plugins/wpdirectorykit/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0cad8c48-5c96-484c-acda-b33d8d8d10d3?source=cve