上传图片即RCE:Ghostscript沙箱逃逸
推荐指数 59.0 NO. 019 · 2026.11.22
发布2026/11/21Score58Comments15
简介
Debian 13 CUPS/Ghostscript组合存在高危漏洞,攻击者通过匿名IPP打印任务上传恶意文件即可远程执行命令,权限为lp用户。该漏洞利用Ghostscript Type 1字体加载器的use-after-free绕过-dSAFER沙箱,且伪装成.png/.jpg的文件仍可通过ImageMagick等转换链触发。
编辑判断
这个漏洞的杀伤链设计非常精巧:攻击面不在Ghostscript直接入口,而是藏在打印、邮件、预览等间接调用路径里。ImageMagick的自动格式探测机制成了帮凶——文件名后缀欺骗在这里完全失效。
如果你维护的是SaaS平台或企业内网,重点排查的不只是文件上传接口,而是任何会生成缩略图、预览图、PDF转换的环节。建议立刻检查是否调用了带Ghostscript后端的imagemagick/graphicsmagick,以及CUPS是否暴露在网络可达位置。这个攻击向量在红队场景里价值极高,预计短期内会出现大量变种利用。
社区反馈
负面 15 条评论
核心争论:Ghostscript架构性安全缺陷 vs 漏洞披露方式是否过度包装
This seems like important information but this page is completely unreadable.
For those on Debian, the usual: https://security-tracker.debian.org/tracker/CVE-2026-125396
Seriously, it's just such a bad design. Extremely dense but at the same time extremely devoid of any info. Sorry for the broad negativity here, but this page just screams "I want CVE cred" without providing any useful info on whether this is a "patch now pants on fire" or "yeah maybe next cycle". At