CVE-2024-47176 cups-browsed binds to `INADDR_ANY:631`, trusting any packet from any source
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2024-47176 vendor-advisory
- bugs.debian.org issue-tracking
- Ubuntu CVE tracker vendor-advisory
- USN-7042-1 vendor-advisory
- USN-7043-1 vendor-advisory
- USN-7043-2 vendor-advisory
- USN-7043-3 vendor-advisory
- USN-7042-2 vendor-advisory
- USN-7043-4 vendor-advisory
- USN-7042-3 vendor-advisory
- www.cve.org
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8 exploit vendor-advisory
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47 not-applicable
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 not-applicable
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6 not-applicable
- https://github.com/OpenPrinting/cups-browsed/blob/master/daemon/cups-browsed.c#L13992 product
- https://www.cups.org product
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I exploit third-party-advisory
- www.openwall.com mailing-list
- github.com patch
- security.netapp.com
- lists.debian.org
- www.openwall.com