
Python PoC for CVE-2023-26360 in Adobe ColdFusion: unauthenticated path traversal/LFI via _metadata.classname chained with log poisoning to achieve remote code execution.
Python proof-of-concept (PoC) script for the CVE-2023-26360 vulnerability, which affects Adobe ColdFusion 2021 (≤ Update 5) and ColdFusion 2018 (≤ Update 15).
The flaw allows an unauthenticated attacker to perform path traversal / local file inclusion (LFI) through the _metadata.classname parameter. By planting a CFML payload in a log file and then including it, it is possible to achieve remote code execution (RCE) on the server.
⚠️ Warning: This project is intended exclusively for security research and authorized testing. Use against systems without explicit authorization is illegal. The author is not responsible for any misuse.
| Field | Value |
|---|---|
| CVE | CVE-2023-26360 |
| Product | Adobe ColdFusion 2021 ≤ Update 5 / 2018 ≤ Update 15 |
| Classification | Improper Access Control / Deserialization of Untrusted Data |
| Practical vector | Path Traversal → LFI → RCE |
| Authentication | Not required |
| CISA KEV | Yes — actively exploited in the wild |
Payload planting (Log Poisoning)
The script sends a POST to a vulnerable CFC endpoint (iedit.cfc) with a malformed JSON containing a CFML payload in _variables. ColdFusion writes this content to a log file.
Log inclusion (LFI)
Next, the script sends another request manipulating _metadata.classname with path traversal (../logs/coldfusion-out.log), forcing ColdFusion to interpret the log as a CFML template.
Execution The CFML payload is executed in the server context, allowing command execution, reverse shell, or remote loading of Java classes.
CFID / CFTOKEN cookies)-c "whoami")URLClassLoader (remote JAR loading)--os)pip install requests colorama