Exploit database

Vulnerability

CVE-2024-47176

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

Vulnerability details

Score
5.3
Severity
medium

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

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.

CVE Program

Exploit source choices

12 sources
CUPS IPP Attributes LAN Remote Code Execution
MSF-multi--misc--cups_ipp_remote_code_executionMetasploitLinux,Unix / remotePreferred

This module exploits vulnerabilities in OpenPrinting CUPS, which is running by default on most Linux distributions. The vulnerabilities allow an attacker on the LAN to advertise a malicious printer that triggers remote code execution when a victim sends a print job to the malicious printer. Successful exploitation requires user interaction, but no CUPS services need to be reachable via accessible ports. Code execution occurs in the context of the lp user. Affected versions are cups-browsed <= 2.0.1, libcupsfilters <= 2.1b1, libppd <= 2.1b1, and cups-filters <= 2.0.1.

2024-09-26cups_ipp_remote_code_execution.rb
malwaretech/cve-2024-47176-scanner
GH-e016d61853a744f34b89dad791e9caefGitHubUnofficial GitHub source

A simple scanner for identifying vulnerable cups-browsed instances on your network

2024-10-072 files · 67 stars
crackercat/feed
GH-09bc49f39559aa0ba4218c733ebd17daGitHubUnofficial GitHub source

crackercat/feed source repository

2025-09-20432 files · 39 stars
l0n3m4n/cve-2024-47176
GH-d78f31cc01c34b922c3ec3e85af79307GitHubUnofficial GitHub source

Unauthenticated RCE on cups-browsed (exploit and nuclei template)

2024-10-035 files · 17 stars
mr-r3b00t/cve-2024-47176
GH-39261bd6c26b476b6886343cf4a40f00GitHubUnofficial GitHub source

Scanner

2024-09-283 files · 9 stars
referefref/cupspot-2024-47177
GH-603a9984c11aa7cfec76d8d6caf76a30GitHubUnofficial GitHub source

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

2024-09-275 files · 8 stars
go0dspeed/spill
GH-8c643d1d757734b2943d71ef9497cb31GitHubUnofficial GitHub source

POC scanner for CVE-2024-47176

2024-09-275 files · 7 stars
lkarlslund/jugular
GH-2878f43b48c6f4cf6ab0bcddc084dc9bGitHubUnofficial GitHub source

Ultrafast CUPS-browsed scanner (CVE-2024-47176)

2024-09-297 files · 7 stars
aytackalinci/cve-2024-47176
GH-4108fac205a31d5e3e668142ac34f373GitHubUnofficial GitHub source

Vulnerability Scanner for CUPS: CVE-2024-47176

2024-09-283 files · 2 stars
gianlu111/cups-cve-2024-47176
GH-515555c8483887b93623f1a79dc8c84aGitHubUnofficial GitHub source

A Mass Scanner designed to detect the CVE-2024-47176 vulnerability across systems running the Common Unix Printing System (CUPS).

2024-10-173 files · 1 stars
alie-n/cups-vulnerability-exploit
GH-3e0dba1d29777c986c35ee27ef298870GitHubUnofficial GitHub source

alie-n/cups-vulnerability-exploit source repository

2024-11-0422 files · 0 stars
deancooreman/cve-2024-47176
GH-25c118187233b276a5ba97454d28373eGitHubUnofficial GitHub source

Automated VirtualBox lab environment to exploit CVE-2024-47176 — an unauthenticated RCE vulnerability in CUPS — using a custom Python exploit and Kali Linux.

2026-03-1310 files · 0 stars