Vulnerability: Multiple Vulnerabilities in Linux CUPS (CVSS 9.9)
Several flaws in CUPS components allow unauthenticated attackers to send crafted IPP packets that can lead to remote code execution, particularly through the cups-browsed service listening on UDP port 631. Attackers could execute arbitrary code on vulnerable Linux systems without user interaction.
infosecwriteups.com
Published on infosecwriteups.com
This affects the libcupsfilters library, where insufficient validation in the cfGetPrinterAttributes5 function allows for malicious IPP attributes to be processed. This opens up the system for RCE when the attacker sends crafted IPP packets.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely insufficient validation of IPP attributes across multiple CUPS components, allowing crafted packets to inject malicious data that is later executed.
Impact
Attackers could execute arbitrary code, gain control of the system, steal data, cause printing outages, or move laterally within the network.
What the attacker needed
Cups-browsed running; network access to UDP port 631; unpatched CUPS
The fix
Disable cups-browsed if not needed, block UDP port 631, update CUPS packages when patches are available, and segment the network.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
CUPS is the printing system used on most Linux computers. These bugs mean that someone on the network could send special printing messages that make the computer run their code, without needing a password or the user doing anything. The most serious one involves a background service that automatically looks for printers and can be tricked into contacting a malicious address.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.