
Unix CUPS打印系统 远程代码执行漏洞
CUPS (Common UNIX Printing System) is a printing system that primarily uses protocols such as IPP (Internet Printing Protocol) to manage print jobs and queues.
On September 27, 2024, details of a remote code execution in Unix CUPS were disclosed on the internet, with the exploitation chain involving multiple CVEs (CVE-2024-47176, CVE-2024-47076, CVE-2024-47175, CVE-2024-47177, etc.). When the cups-browsed process is listening (default port 631) to receive UDP packets, an attacker can craft a malicious request and potentially execute arbitrary commands on the victim's machine without authentication, thereby controlling the server. Whether the vulnerability is actually exploitable and triggerable depends on the specific environment (e.g., existence of print jobs, etc.)
root@kali:~/Desktop/cups# ./cups 192.168.50.128 192.168.50.11
Unix CUPS CVE-2024-47176 Vul Check
Author: 0x7556
2024/10/12 22:24:00 HTTP listener started on 192.168.50.128:8080
IP: 192.168.50.11 VUL: CUPS/2.2.7 (Linux 4.18.0-15-generic; x86_64) IPP/2.0
Scanning 1 IP addresses...
Progress: 100.00% (1/1)
Scan complete.
IP: 192.168.50.11 VUL: CUPS/2.2.7 (Linux 4.18.0-15-generic; x86_64) IPP/2.0
root@kali:~/Desktop/cups# ./cups 192.168.50.128 192.168.50.11/24
Unix CUPS CVE-2024-47176 Vul Check
Author: 0x7556
2024/10/12 22:24:14 HTTP listener started on 192.168.50.128:8080
Scanning 254 IP addresses...
Progress: 22.83% (58/254)IP: 192.168.50.11 VUL: CUPS/2.2.7 (Linux 4.18.0-15-generic; x86_64) IPP/2.0
Progress: 62.60% (159/254)IP: 192.168.50.11 VUL: CUPS/2.2.7 (Linux 4.18.0-15-generic; x86_64) IPP/2.0
Progress: 100.00% (254/254)
Scan complete.
IP: 192.168.50.11 VUL: CUPS/2.2.7 (Linux 4.18.0-15-generic; x86_64) IPP/2.0
IP: 192.168.50.11 VUL: CUPS/2.2.7 (Linux 4.18.0-15-generic; x86_64) IPP/2.0
IP: 192.168.50.11 VUL: CUPS/2.2.7 (Linux 4.18.0-15-generic; x86_64) IPP/2.0