Skip to content

CVE-2024-47176 cups-browsed binds to `INADDR_ANY:631`, trusting any packet from any source

MediumCVSS 5.3 EPSS 50.6% Framework module Scanner template
Published
Updated
Exploit status
Public exploit available
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

CUPS is a standards-based, open-source printing system, and cups-browsed contains network printing functionality including, but not limited to, auto-discovering print services and shared printers. cups-browsed binds to INADDR_ANY:631, causing it to trust any packet from any source, and can cause the Get-Printer-Attributes IPP request to an attacker controlled URL. When combined with other vulnerabilities, such as CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177, an attacker can execute arbitrary commands remotely on the target machine without authentication when a malicious printer is printed to.

Upgrade path

7 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/cups-filters(Debian 12) < 1.28.17-3+deb12u1; = 1.28.17-3 1.28.17-3+deb12u1 Fixed
debian/cups-filters(Debian 13) < 1.28.17-5 1.28.17-5 Fixed
debian/cups-filters(Debian 14) < 1.28.17-5 1.28.17-5 Fixed
ubuntu/cups-browsed(Ubuntu 24.04) < 2.0.0-0ubuntu10.2 2.0.0-0ubuntu10.2 Fixed
ubuntu/cups-filters(Ubuntu 22.04) < 1.28.15-0ubuntu1.4 1.28.15-0ubuntu1.4 Fixed
OpenPrinting cups = 2.0.1 No fix listed Versions listed
OpenPrinting cups-browsed = 2.0.1; = <= 2.0.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/cups-filters(Debian:12) < 1.28.17-3+deb12u1 1.28.17-3+deb12u1
debian/cups-filters(Debian:12) = 1.28.17-3 No fix listed
debian/cups-filters(Debian:13) < 1.28.17-5 1.28.17-5
debian/cups-filters(Debian:14) < 1.28.17-5 1.28.17-5
ubuntu/cups-filters(Ubuntu:22.04) < 1.28.15-0ubuntu1.4 1.28.15-0ubuntu1.4
OpenPrinting cups-browsed = <= 2.0.1 No fix listed
OpenPrinting cups = 2.0.1 No fix listed
ubuntu/cups-browsed(Ubuntu:24.04) < 2.0.0-0ubuntu10.2 2.0.0-0ubuntu10.2
OpenPrinting cups-browsed = 2.0.1 No fix listed

References