Zero day 2026: hackeando el futuro desde concepción en la c2c cybersecurity conference
Si creías que la ciberseguridad en Latinoamérica se trataba solo de cambiar contraseñas cada noventa días y rezar para que
Oh No! Not My Printers! Exploiting CUPS on Linux: A How-to Guide (Just Kidding, Please Patch Your Systems) Remember those carefree days when the most terrifying thing about printers was running out of ink at 3 AM just before a big deadline? Yeah, me neither. But hold onto your
Oh No! Not My Printers! Exploiting CUPS on Linux: A How-to Guide (Just Kidding, Please Patch Your Systems)
Remember those carefree days when the most terrifying thing about printers was running out of ink at 3 AM just before a big deadline? Yeah, me neither. But hold onto your coffee mugs because we're diving headfirst into a pool of vulnerabilities in CUPS, the ubiquitous print server that's about as secure as a screen door on a submarine, apparently.

Simone Margaritelli, the cybersecurity Gandalf, has unearthed a treasure trove of vulnerabilities in CUPS. We're talking CVEs like CVE-2024-47176, CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177. These aren't your grandma's paper jams, folks. These bad boys could let a remote attacker waltz right into your system and take over faster than you can say "Ctrl+P."
Here's the lowdown on how this digital dumpster fire unfolds:
cups-browsed, a service that's supposed to make your life easier by browsing for printers, is actually making life easier for attackers. If it's running, you're basically waving a neon sign that says, "Hack me!"We're talking remote code execution, folks. That means stolen data, compromised systems, and enough potential damage to make your head spin. And the worst part? You don't even need to click a suspicious link or download a dodgy file. Just printing a document is enough to trigger this digital landmine.
Alright, enough doom and gloom. Let's talk about how to slam the door shut on this vulnerability before it slams shut on you. Those instructions are meant for systemd based distros, AKA Debian, Ubuntu and friends. For other distros, check the links at the bottom.
First, check if you're running cups-browsed:
sudo systemctl status cups-browsed
If you see "Active: inactive (dead)," you can breathe a sigh of relief. If not, it's time to roll up your sleeves.
Disable cups-browsed immediately:
sudo systemctl stop cups-browsed
Make sure cups-browsed stays down for the count:
sudo systemctl disable cups-browsed
If you absolutely can't disable cups-browsed, at least block traffic to UDP port 631:
sudo iptables -A INPUT -p tcp --dport 631 -j DROP
sudo iptables -A INPUT -p udp --dport 631 -j DROP
Keep your CUPS installation updated. Think of it like showering—do it regularly to avoid becoming a breeding ground for digital parasites.
So there you have it, folks. The CUPS vulnerability is a stark reminder that even the most mundane technologies can be weaponized. Stay vigilant, keep your systems patched, and maybe consider investing in a carrier pigeon for your printing needs. Just kidding (or am I?).
Si creías que la ciberseguridad en Latinoamérica se trataba solo de cambiar contraseñas cada noventa días y rezar para que
Durante años, la industria de la infraestructura nos vendió la idea de que bastaba con borrar /bin/sh de un contenedor para llamarlo seguro. El término distroless se transformó en la insignia de honor favorita de los equipos de DevSecOps.