Remote Command Execution in CUPS Print System

5.3MEDIUM

CVE-2024-47176

Key Information:

Vendor

Openprinting

Status
Cups-browsed
CVE ID
CVE ID:
CVE-2024-47176
Vendor
CVE Published:
26 September 2024

Timeline

Exploit known 1 day after it was published

  • 📈

    Vulnerability started trending

  • 📰

    First article discovered by Help Net Security

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

📈 Trended📈 Score: 3,480👾 Exploit Exists🟡 Public PoC🟣 EPSS 50%📰 News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (8 proof-of-concepts)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Cups-browsed. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed Cups-browsed systems for unusual requests or new processes from before you patched. The 8 public proof-of-concepts show what an attack looks like.

4Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 50.6% chance of exploitation in the next 30 days.
  • Its CVSS severity is medium (5.3).

What is CVE-2024-47176?

CVE-2024-47176 is a vulnerability in the cups-browsed component of the Common UNIX Printing System (CUPS), which is responsible for network printing. The flaw occurs because cups-browsed binds to INADDR_ANY:631, allowing it to accept packets from any source. An attacker can exploit this by sending a specially crafted Get-Printer-Attributes IPP request to a URL they control, potentially leading to the execution of arbitrary commands on the target machine when a malicious printer is added.

The vulnerability affects cups-browsed versions up to 2.0.1. It has been exploited in the wild, and it is part of a series of vulnerabilities that can be chained together to achieve remote code execution on affected systems.

Potential Impact of CVE-2024-47176

  1. Remote Command Execution: An attacker can execute arbitrary commands on the target machine by creating a malicious printer that points to an attacker-controlled URL.

  2. Unauthenticated Access: The vulnerability allows attackers to exploit the system without requiring authentication, making it easier to compromise vulnerable systems.

Affected Version(s)

cups-browsed <= 2.0.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

Unix CUPS Unauthenticated RCE Zero-Day Vulnerabilities: All you need to know - KBI.Media

On September 23rd, Twitter user Simone Margaritelli (@evilsocket) announced that he has discovered and privately disclosed a CVSS 9.9 GNU/Linux unauthenticated RCE, which affects almost all Linux distributions, and that the public disclosure will happen on September 30th, Due to a suspected leak in ...

Unix CUPS Unauthenticated RCE Zero-Day Vulnerabilities (CVE-2024-47076, CVE-2024-47175, CVE-2024-47176, CVE-2024-47177): All you need to know

On September 23rd, Twitter user Simone Margaritelli (@evilsocket) announced that he has discovered and privately disclosed a CVSS 9.9 GNU/Linux unauthenticated RCE, which affects almost all Linux distributions, and that the public disclosure will happen on September 30th, Due to a suspected leak in ...

favicon imageBleepingComputer

New scanner finds Linux, UNIX servers exposed to CUPS RCE attacks

An automated scanner has been released to help security professionals scan environments for devices vulnerable to the Common Unix Printing System (CUPS) RCE flaw tracked as CVE-2024-47176.

References

Unauthorized Print Job Execution in OpenPrinting CUPS 2.4.16 and Prior

CVE-2026-34980
OpenprintingCups😄👾6.1MEDIUM

Out of Bounds Read/Write Vulnerability in CUPS-Filters and libcupsfilters

CVE-2025-57812
OpenprintingLibcupsfilters3.7LOW

OpenPrinting CUPS Remote DoS Vulnerability in Linux Systems

CVE-2025-58364
OpenprintingCups6.5MEDIUM
View more Openprinting vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

50% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.