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

> Attackers can force cups-browsed to send IPP requests to malicious URLs, potentially leading to remote code execution when combined with other flaws.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 26 Sep 2024
- **Updated:** 4 Nov 2025
- **Also known as:** CLSA-2025-1744716861, DEBIAN-CVE-2024-47176, SUSE-SU-2024:3523-1, UBUNTU-CVE-2024-47176, USN-7042-1, USN-7042-2, USN-7042-3, USN-7043-2, USN-7043-3

## What is CVE-2024-47176?

CVE-2024-47176 is a medium-severity server-side request forgery vulnerability in OpenPrinting cups-browsed, published on 26 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-1327 (Binding to an Unrestricted IP Address)

## Which versions are affected by CVE-2024-47176?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `cups-filters` | SUSE:Enterprise Storage 7.1 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Manager Proxy 4.3 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | SUSE:Manager Server 4.3 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | openSUSE:Leap 15.5 | All versions | 1.25.0-150200.3.16.1 |
| `cups-filters` | openSUSE:Leap 15.6 | All versions | 1.25.0-150200.3.16.1 |

Products: Openprinting Cups-Browsed.

## How do I fix CVE-2024-47176?

Apply the vendor's patch.

## Is CVE-2024-47176 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47176 exists.

Public exploit code:

- A simple scanner for identifying vulnerable cups-browsed instances on your network (github_poc): https://github.com/MalwareTech/CVE-2024-47176-Scanner
- Unauthenticated RCE on cups-browsed (exploit and nuclei template) (github_poc): https://github.com/l0n3m4n/CVE-2024-47176
- Scanner (github_poc): https://github.com/mr-r3b00t/CVE-2024-47176
- POC scanner for CVE-2024-47176 (github_poc): https://github.com/GO0dspeed/spill
- Ultrafast CUPS-browsed scanner (CVE-2024-47176) (github_poc): https://github.com/lkarlslund/jugular
- Vulnerability Scanner for CUPS: CVE-2024-47176 (github_poc): https://github.com/aytackalinci/CVE-2024-47176

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-47176 and fix it if it is affected.

What it is: CVE-2024-47176 is a medium-severity server-side request forgery vulnerability in OpenPrinting cups-browsed, published on 26 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47176 exists.

Affected product: OpenPrinting cups-browsed. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-47176/ (Markdown: https://insights.sbomify.com/CVE-2024-47176/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-47176
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-47176
- OSV: https://osv.dev/vulnerability/CVE-2024-47176

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-47176/
Summaries are generated and may contain mistakes; the official description above is the record.
