CVE-2024-47176: CUPS - Command Injection
- Cve: CVE-2024-47176
- Name: CUPS - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands remotely on the system, leading to full system compromise over the network.
- Remediation: Configure cups-browsed to bind to localhost or specific IP addresses, and update to the latest version with security patches.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.50605
- Epss percentile: 0.98944
- Assignee: [email protected]
- Published at: 2024-09-26T22:15:04Z
- Age in days: 789
- Modified at: 2026-06-17T07:56:40Z
- Patch available: yes
- Public exploits total: 34
- References total: 12
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-47176
- Nvd status: modified
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1327 | Binding to an Unrestricted IP Address |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2024-09-27 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2024-47176 | https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2024/CVE-2024-47176.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8 | nvd | 2024-09-26 |
| https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I | nvd | 2024-09-26 |
| https://github.com/Kokila-Chandramohan/cups-cve-2024-47176 | poc-in-github | 2026-11-12 |
| https://github.com/Kokila-Chandramohan/cups-cve-2024-47176.git | vulncheck-xdb | 2026-11-12 |
| https://github.com/Md-Nafiul-Hamim/cups-browse-exploit-detection | poc-in-github | 2026-11-11 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/OpenPrinting/cups-browsed/commit/1debe6b140c37e0aa928559add4abcc95ce54aa2 | nvd | Patch |
| https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8 | nvd | Exploit, Vendor Advisory |
| https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I | nvd | Exploit, Third Party Advisory |
| https://github.com/OpenPrinting/cups-browsed/blob/master/daemon/cups-browsed.c#L13992 | nvd | Product |
| https://www.cups.org | nvd | Product |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2024/CVE-2024-47176.yaml | nuclei_template | Nuclei Template |
| https://www.loginsoft.com/reports/annually/vulnerability-intelligence-report-2025 | vulncheck | Vulncheck Reported Exploitation |
| https://securitylabs.datadoghq.com/articles/emerging-vulnerability-cups/ | vulncheck | Vulncheck Reported Exploitation |
| http://www.openwall.com/lists/oss-security/2024/09/27/6 | nvd | Mailing List |
| http://www.openwall.com/lists/oss-security/2025/09/11/2 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openprinting:cups-browsed | = 2.0.1 | no | nvd | /v1/products/openprinting/cups-browsed |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| OpenPrinting/cups-browsed | commit, fix, security_advisory | yes | /v1/repositories/OpenPrinting/cups-browsed |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2024-09-27
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 34
- Public exploit first date: 2024-09-25
- Remote: yes
- Checked, none or zero: known exploited, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports, exposed hosts