Featured image of post Linux CUPS 远程代码执行漏洞链(CVE-2024-47176):安全加固与禁用指南Featured image of post Linux CUPS 远程代码执行漏洞链(CVE-2024-47176):安全加固与禁用指南

Linux CUPS 远程代码执行漏洞链(CVE-2024-47176):安全加固与禁用指南

广泛存在于各类Linux发行版中的通用Unix打印系统(CUPS)被曝出严重的远程代码执行漏洞链(CVE-2024-47176等)。

漏洞利用途径

cups-browsed服务若在公网开放UDP 631端口,攻击者可通过投递特制IPP报文静默注册恶意打印机,并在触发打印作业时以守护进程权限执行恶意代码。

生产服务器防护操作

对于无需打印服务的云主机与独立服务器,建议立即停用服务并关闭对应端口:

sudo systemctl stop cups-browsed
sudo systemctl disable cups-browsed
sudo ufw deny proto udp from any to any port 631