CVE-2024-47176
cups-browsed binds to `INADDR_ANY:631`, trusting any packet from any source
Reported by github_m · Published September 26, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cups-filters-devel | Amazon Linux | 1.0.35-26.amzn2.0.1 |
| cups-filters | Amazon Linux | 1.28.16-3.amzn2023.0.3 |
| cups-filters-libs | Amazon Linux | 1.28.16-3.amzn2023.0.3, 1.0.35-26.amzn2.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenPrinting | cups-browsed | <= 2.0.1 |
| amazon:2 | cups-filters-devel | 0 |
| amazon:2023 | cups-filters | 0 |
| amazon:2023 | cups-filters-libs | 0 |
| amazon:2 | cups-filters-libs | 0 |
| openprinting | cups | 2.0.1 |
| amazon:2023 | cups-filters-devel | 0 |
| OpenPrinting | cups-browsed | 0 |
| amazon:2 | cups-filters | 0 |
Timeline
- Sep 25, 2024 VulnCheck XDB Entry (13 in total, the first dated here)
- Sep 26, 2024 PoC Published (48 in total, the first dated here)
- Sep 26, 2024 CVE Published
- Sep 27, 2024 VulnCheck KEV Exploitation (2 in total, the first dated here)
- Sep 27, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (16 in total, the first dated here)
- Jan 4, 2026 Security Advisory (28 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (24 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47176
vulnetix vdb fixes CVE-2024-47176
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47176/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8 x_refsource_CONFIRM
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47 x_refsource_MISC
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 x_refsource_MISC
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6 x_refsource_MISC
- https://github.com/OpenPrinting/cups-browsed/blob/master/daemon/cups-browsed.c#L13992 x_refsource_MISC
- https://www.cups.org x_refsource_MISC
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2024/09/27/6 url
- https://security.netapp.com/advisory/ntap-20241011-0001/ url
- http://www.openwall.com/lists/oss-security/2025/09/11/2 url
- https://github.com/OpenPrinting/cups-browsed/commit/1debe6b140c37e0aa928559add4abcc95ce54aa2 fix
- https://lists.debian.org/debian-lts-announce/2024/09/msg00048.html advisory