CVE-2024-47176
CVE-2024-47176 · cups-browsed binds to `INADDR_ANY:631`, trusting any packet from any source
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 50.6% · Public exploit · Fix available
- Published
- Updated
Stack: system
Affected products and versions
cups-browsed
- Versions
- <= 2.0.1: Affected
No fix published
cups-filters Debian:12
- Versions
- 1.28.17-3
- Affected ranges
- ECOSYSTEM: < 1.28.17-3+deb12u1
Update to 1.28.17-3+deb12u1
cups-filters Debian:13
- Affected ranges
- ECOSYSTEM: < 1.28.17-5
Update to 1.28.17-5
cups-filters Debian:14
- Affected ranges
- ECOSYSTEM: < 1.28.17-5
Update to 1.28.17-5
cups-filters Ubuntu:Pro:16.04:LTS
- Versions
- 1.0.76-1
- 1.1.0-1
- 1.1.0-1build1
- 1.3.0-1
- 1.4.0-1
- 1.5.0-1
- 1.6.0-1
- 1.7.0-1
- 1.8.1-1
- 1.8.2-1
- 1.8.2-2
- 1.8.2-2ubuntu2
- 1.8.2-2ubuntu3
- 1.8.3-2ubuntu1
- 1.8.3-2ubuntu2
- 1.8.3-2ubuntu3
- 1.8.3-2ubuntu3.1
- 1.8.3-2ubuntu3.4
- 1.8.3-2ubuntu3.5
- 1.8.3-2ubuntu3.5+esm1
- Affected ranges
- ECOSYSTEM: < 1.8.3-2ubuntu3.5+esm2
Update to 1.8.3-2ubuntu3.5+esm2
cups-filters Ubuntu:Pro:18.04:LTS
- Versions
- 1.17.9-0ubuntu1
- 1.17.9-1
- 1.20.0-2
- 1.20.1-1
- 1.20.1-1build1
- 1.20.2-0ubuntu1
- 1.20.2-0ubuntu2
- 1.20.2-0ubuntu3
- 1.20.2-0ubuntu3.1
- 1.20.2-0ubuntu3.3
- Affected ranges
- ECOSYSTEM: < 1.20.2-0ubuntu3.3+esm1
Update to 1.20.2-0ubuntu3.3+esm1
cups-filters Ubuntu:20.04:LTS
- Versions
- 1.25.11-0ubuntu1
- 1.25.11-1
- 1.25.12-1
- 1.25.13-1
- 1.26.0-1
- 1.26.1-1
- 1.26.2-1
- 1.27.0-1
- 1.27.0-2
- 1.27.1-1
- 1.27.1-2
- 1.27.1-3
- 1.27.2-1
- 1.27.3-1
- 1.27.4-1
- 1.27.4-1ubuntu0.2
- 1.27.4-1ubuntu0.3
- Affected ranges
- ECOSYSTEM: < 1.27.4-1ubuntu0.4
Update to 1.27.4-1ubuntu0.4
cups-filters Ubuntu:22.04:LTS
- Versions
- 1.28.10-2
- 1.28.11-1
- 1.28.11-2
- 1.28.12-1
- 1.28.13-0ubuntu1
- 1.28.14-1
- 1.28.15-0ubuntu1
- 1.28.15-0ubuntu1.2
- 1.28.15-0ubuntu1.3
- Affected ranges
- ECOSYSTEM: < 1.28.15-0ubuntu1.4
Update to 1.28.15-0ubuntu1.4
cups-browsed Ubuntu:24.04:LTS
- Versions
- 2.0.0-0ubuntu2
- 2.0.0-0ubuntu3
- 2.0.0-0ubuntu9
- 2.0.0-0ubuntu10
- 2.0.0-0ubuntu10.1
- Affected ranges
- ECOSYSTEM: < 2.0.0-0ubuntu10.2
Update to 2.0.0-0ubuntu10.2
Original sources
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6
- https://github.com/OpenPrinting/cups-browsed/blob/master/daemon/cups-browsed.c#L13992
- https://www.cups.org
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I
- http://www.openwall.com/lists/oss-security/2024/09/27/6
- https://github.com/OpenPrinting/cups-browsed/commit/1debe6b140c37e0aa928559add4abcc95ce54aa2
- https://security.netapp.com/advisory/ntap-20241011-0001/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00048.html
- http://www.openwall.com/lists/oss-security/2025/09/11/2
- https://nvd.nist.gov/vuln/detail/CVE-2024-47176