5.3
MEDIUM
CVE-2024-47176
Vulnerability Title: CUPS cups-browsed Remote Code Execution Over Network (RCE)
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.

INFO

Published Date :

Sept. 26, 2024, 10:15 p.m.

Last Modified :

Oct. 2, 2024, 8:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-47176 has a 15 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-47176 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Openprinting cups

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Unauthenticated RCE on cups-browsed (exploit)

ctf cups cve exploit pentesting rce redteaming

Python

Updated: 3 hours, 19 minutes ago
0 stars 0 fork 0 watcher
Born at : Oct. 3, 2024, 3:53 p.m. This repo has been linked 4 different CVEs too.

None

Python

Updated: 1 day, 4 hours ago
0 stars 0 fork 0 watcher
Born at : Oct. 2, 2024, 2:10 p.m. This repo has been linked 1 different CVEs too.

A simple CVE-2024-47176 (cups_browsed) check tool written in go.

Go

Updated: 4 days, 1 hour ago
0 stars 0 fork 0 watcher
Born at : Sept. 29, 2024, 5:53 p.m. This repo has been linked 1 different CVEs too.

Ultrafast CUPS-browsed scanner (CVE-2024-47076, CVE-2024-47175, CVE-2024-47176, CVE-2024-47177)

cups cve-2024-47076 cve-2024-47175 cve-2024-47176 cve-2024-47177

Go

Updated: 2 days, 1 hour ago
4 stars 0 fork 0 watcher
Born at : Sept. 29, 2024, 9:05 a.m. This repo has been linked 4 different CVEs too.

Vulnerability Scanner for CUPS: CVE-2024-47176

Python

Updated: 4 days, 3 hours ago
1 stars 0 fork 0 watcher
Born at : Sept. 28, 2024, 7:01 p.m. This repo has been linked 1 different CVEs too.

This repository updates latest Bug Bounty writeups every 10 minutes

Go

Updated: 1 day, 19 hours ago
1 stars 0 fork 0 watcher
Born at : Sept. 28, 2024, 6:44 p.m. This repo has been linked 5 different CVEs too.

Scanner

Python

Updated: 3 days, 11 hours ago
8 stars 4 fork 4 watcher
Born at : Sept. 28, 2024, 4:02 p.m. This repo has been linked 1 different CVEs too.

A script to mitigate the critical CUPS vulnerability while waiting for a security patch.

Shell

Updated: 4 days, 22 hours ago
1 stars 0 fork 0 watcher
Born at : Sept. 28, 2024, 11:34 a.m. This repo has been linked 1 different CVEs too.

None

Ruby

Updated: 3 days, 21 hours ago
1 stars 0 fork 0 watcher
Born at : Sept. 28, 2024, 4:26 a.m. This repo has been linked 1 different CVEs too.

Scanner for the CUPS vulnerability CVE-2024-47176

Python

Updated: 5 days, 23 hours ago
0 stars 0 fork 0 watcher
Born at : Sept. 27, 2024, 8:04 p.m. This repo has been linked 1 different CVEs too.

CUPS Browsd Check_CVE-2024-47176

Python

Updated: 6 days ago
0 stars 0 fork 0 watcher
Born at : Sept. 27, 2024, 6:23 p.m. This repo has been linked 1 different CVEs too.

PoC honeypot for detecting exploit attempts against CVE-2024-47177

Python Shell

Updated: 3 days, 14 hours ago
3 stars 1 fork 1 watcher
Born at : Sept. 27, 2024, 5:18 a.m. This repo has been linked 2 different CVEs too.

POC scanner for CVE-2024-47176

Go

Updated: 4 days, 19 hours ago
6 stars 2 fork 2 watcher
Born at : Sept. 27, 2024, 1:22 a.m. This repo has been linked 1 different CVEs too.

Ansible Playbooks to mitigate certain CVEs

Updated: 3 days, 3 hours ago
0 stars 0 fork 0 watcher
Born at : July 2, 2024, 2:30 p.m. This repo has been linked 1 different CVEs too.

My profile on Github.

curiosity markdown readme-profile

Updated: 5 days, 20 hours ago
2 stars 0 fork 0 watcher
Born at : Aug. 17, 2022, 6:02 p.m. This repo has been linked 4 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-47176 vulnerability anywhere in the article.

  • Help Net Security
CUPS vulnerabilities could be abused for DDoS attacks

While the Common UNIX Printing System (CUPS) vulnerabilities recently disclosed by researcher Simone “evilsocket” Margaritelli are not easily exploited for remote command execution on vulnerable syste ... Read more

Published Date: Oct 03, 2024 (6 hours, 9 minutes ago)
  • Cybersecurity News
CUPS Exploit Turns Common Devices into DDoS Weapons

In a recent revelation, researchers at Akamai have identified a new attack vector exploiting vulnerabilities in the Common Unix Printing System (CUPS). This discovery highlights how everyday devices, ... Read more

Published Date: Oct 03, 2024 (17 hours, 10 minutes ago)
  • Dark Reading
Unix Printing Vulnerabilities Enable Easy DDoS Attacks

Source: sofiacorte via ShutterstockIt turns out that remote code execution is not the only way attackers can leverage a critical set of four vulnerabilities that a researcher recently disclosed in the ... Read more

Published Date: Oct 02, 2024 (22 hours, 8 minutes ago)
  • Hackread - Latest Cybersecurity, Tech, Crypto & Hacking News
Decade-Old Linux Vulnerability Can Be Exploited for DDoS Attacks on CUPS

This article explores the Linux vulnerability discovered by Simone Margaritelli, which, according to cybersecurity companies Uptycs and Akamai, can be exploited for additional malicious purposes, incl ... Read more

Published Date: Oct 02, 2024 (1 day, 2 hours ago)
  • Cybersecurity News
CVE-2024-43917 (CVSS 9.3): Unpatched SQLi Flaw in TI WooCommerce Wishlist Threatens 100,000+ Sites

A critical security vulnerability has been discovered in the widely-used WordPress plugin, TI WooCommerce Wishlist, potentially exposing over 100,000 websites to malicious attacks. The flaw, tracked a ... Read more

Published Date: Sep 28, 2024 (5 days, 17 hours ago)
  • TheCyberThrone
CUPS Vulnerability affecting Linux Print Server

There’s has been a spotlight on one of the vulnerability reported critical unauthenticated remote code execution flaws affecting Linux systems.Security researcher Simone Margaritelli discovered this v ... Read more

Published Date: Sep 27, 2024 (6 days, 3 hours ago)
  • The Hacker News
Critical Linux CUPS Printing System Flaws Could Allow Remote Command Execution

A new set of security vulnerabilities has been disclosed in the OpenPrinting Common Unix Printing System (CUPS) on Linux systems that could permit remote command execution under certain conditions. "A ... Read more

Published Date: Sep 27, 2024 (6 days, 6 hours ago)
  • Help Net Security
CUPS vulnerabilities affecting Linux, Unix systems can lead to RCE

After much hyping and following prematurely leaked information by a third party, security researcher Simone Margaritelli has released details about four zero-day vulnerabilities in the Common UNIX Pri ... Read more

Published Date: Sep 27, 2024 (6 days, 9 hours ago)
  • security.nl
CUPS-kwetsbaarheden maken remote code execution mogelijk

Verschillende kwetsbaarheden in CUPS maken het mogelijk voor een ongeauthenticeerde aanvaller om op afstand code op Linux-systemen uit te voeren. Voor verschillende Linux-distributies zijn updates uit ... Read more

Published Date: Sep 27, 2024 (6 days, 10 hours ago)
  • BleepingComputer
CUPS flaws enable Linux remote code execution, but there’s a catch

Under certain conditions, attackers can chain a set of vulnerabilities in multiple components of the CUPS open-source printing system to execute arbitrary code remotely on vulnerable machines. Tracked ... Read more

Published Date: Sep 26, 2024 (6 days, 21 hours ago)
  • Cybersecurity News
Critical CUPS Vulnerabilities Expose Linux and Other Systems to Remote Attacks

In a significant development for cybersecurity, multiple critical vulnerabilities have been discovered in CUPS (Common Unix Printing System), a widely used print server on Linux systems and other plat ... Read more

Published Date: Sep 26, 2024 (6 days, 21 hours ago)

The following table lists the changes that have been made to the CVE-2024-47176 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Oct. 02, 2024

    Action Type Old Value New Value
    Removed CWE GitHub, Inc. CWE-20
    Removed CWE GitHub, Inc. CWE-749
  • CVE Modified by [email protected]

    Oct. 02, 2024

    Action Type Old Value New Value
    Changed 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. Due to the service binding to `*:631 ( INADDR_ANY )`, multiple bugs in `cups-browsed` can be exploited in sequence to introduce a malicious printer to the system. This chain of exploits ultimately enables an attacker to execute arbitrary commands remotely on the target machine without authentication when a print job is started. This poses a significant security risk over the network. Notably, this vulnerability is particularly concerning as it can be exploited from the public internet, potentially exposing a vast number of systems to remote attacks if their CUPS services are enabled. 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.
    Removed CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • CVE Received by [email protected]

    Sep. 26, 2024

    Action Type Old Value New Value
    Added 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. Due to the service binding to `*:631 ( INADDR_ANY )`, multiple bugs in `cups-browsed` can be exploited in sequence to introduce a malicious printer to the system. This chain of exploits ultimately enables an attacker to execute arbitrary commands remotely on the target machine without authentication when a print job is started. This poses a significant security risk over the network. Notably, this vulnerability is particularly concerning as it can be exploited from the public internet, potentially exposing a vast number of systems to remote attacks if their CUPS services are enabled.
    Added Reference GitHub, Inc. https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/OpenPrinting/cups-browsed/blob/master/daemon/cups-browsed.c#L13992 [No types assigned]
    Added Reference GitHub, Inc. https://www.cups.org [No types assigned]
    Added Reference GitHub, Inc. https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I [No types assigned]
    Added CWE GitHub, Inc. CWE-20
    Added CWE GitHub, Inc. CWE-749
    Added CWE GitHub, Inc. CWE-1327
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-47176 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-47176 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability