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

Medium 5.3 Published Updated

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

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

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

Which versions are affected by CVE-2024-47176?

It affects 1 product.

Linux distribution packages (17)
cups-filters SUSE:Enterprise Storage 7.1All versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.25.0-150200.3.16.1
cups-filters SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions1.25.0-150200.3.16.1
cups-filters SUSE:Manager Proxy 4.3All versions1.25.0-150200.3.16.1
cups-filters SUSE:Manager Server 4.3All versions1.25.0-150200.3.16.1
cups-filters openSUSE:Leap 15.5All versions1.25.0-150200.3.16.1
cups-filters openSUSE:Leap 15.6All versions1.25.0-150200.3.16.1

Products include Openprinting Cups-Browsed.

How do I fix CVE-2024-47176?

Apply the vendor's patch.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

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: 2 Metasploit modules, 1 Nuclei template and 16 proofs of concept on GitHub.

Sources

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 and 3 more.

Is CVE-2024-47176 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free