CVE-2024-47176

NameCVE-2024-47176
DescriptionCUPS 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3905-1, DSA-5778-1, ELA-1186-1, ELA-1187-1
Debian Bugs1082820

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cups-filters (PTS)jessie, jessie (lts)1.0.61-5+deb8u5fixed
stretch (security)1.11.6-3+deb9u1vulnerable
stretch (lts), stretch1.11.6-3+deb9u3fixed
buster, buster (lts)1.21.6-5+deb10u2fixed
buster (security)1.21.6-5+deb10u1vulnerable
bullseye1.28.7-1+deb11u2vulnerable
bullseye (security)1.28.7-1+deb11u3fixed
bookworm (security), bookworm1.28.17-3+deb12u1fixed
sid, trixie1.28.17-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cups-filterssourcejessie1.0.61-5+deb8u5ELA-1187-1
cups-filterssourcestretch1.11.6-3+deb9u3ELA-1186-1
cups-filterssourcebuster1.21.6-5+deb10u2ELA-1186-1
cups-filterssourcebullseye1.28.7-1+deb11u3DLA-3905-1
cups-filterssourcebookworm1.28.17-3+deb12u1DSA-5778-1
cups-filterssource(unstable)1.28.17-51082820

Notes

https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8
https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I/
Fixed by: https://github.com/OpenPrinting/cups-browsed/commit/1debe6b140c37e0aa928559add4abcc95ce54aa2
Mitigations cover: For servers, stop and remove the cups-browsed package. For
client/desktop systems: Remove 'cups' from the "BrowseRemoteProtocols" line in
/etc/cups/cups-browsed.conf and restart the cups-browsed service.

Search for package or bug name: Reporting problems