Vulnerability · Published Sep 26, 2024 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in cups-browsed from OpenPrinting. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 50.6% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)50.6%top 1.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling3Metasploit, Nuclei, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8cups-filters1.20.0-35.el8_10ALSA-2024:7463
AlmaLinux:9cups-filters1.28.7-17.el9_4ALSA-2024:7346
AlmaLinux:8cups-filters-devel1.20.0-35.el8_10ALSA-2024:7463
AlmaLinux:9cups-filters-devel1.28.7-17.el9_4ALSA-2024:7346
AlmaLinux:8cups-filters-libs1.20.0-35.el8_10ALSA-2024:7463
AlmaLinux:9cups-filters-libs1.28.7-17.el9_4ALSA-2024:7346
Debian:12cups-filters1.28.17-3+deb12u1DEBIAN-CVE-2024-47176
Debian:12cups-filters1.28.17-3+deb12u1DSA-5778-1
Debian:13cups-filters1.28.17-5DEBIAN-CVE-2024-47176
Debian:14cups-filters1.28.17-5DEBIAN-CVE-2024-47176
Rocky Linux:8cups-filters0:1.20.0-35.el8_10RLSA-2024:7463
Rocky Linux:9cups-filters0:1.28.7-17.el9_4RLSA-2024:7346
Ubuntu:24.04:LTScups-browsed2.0.0-0ubuntu10.2UBUNTU-CVE-2024-47176
Ubuntu:24.04:LTScups-browsed2.0.0-0ubuntu10.1USN-7042-1
Ubuntu:24.04:LTScups-browsed2.0.0-0ubuntu10.2USN-7042-2
Ubuntu:22.04:LTScups-filters1.28.15-0ubuntu1.4USN-7043-4
Ubuntu:22.04:LTScups-filters1.28.15-0ubuntu1.4UBUNTU-CVE-2024-47176
Ubuntu:22.04:LTScups-filters1.28.15-0ubuntu1.3USN-7043-1

Affected products (as reported)

VendorProductVersions
OpenPrinting cups-browsed <= 2.0.1

Weakness: CWE-1327 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References