CVE-2024-47176
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
40.1% (higher than 99% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
OpenPrinting cups-browsed<= 2.0.1, 2.0.1CVE List, NVD
openprinting cups2.0.1CVE List

Classification

CWE-1327

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

CUPS es un sistema de impresión de código abierto basado en estándares, y `cups-browsed` contiene funcionalidades de impresión en red que incluyen, entre otras, servicios de impresión de detección automática e impresoras compartidas. `cups-browsed` se vincula a `INADDR_ANY:631`, lo que hace que confíe en cualquier paquete de cualquier origen, y puede provocar la solicitud IPP `Get-Printer-Attributes` a una URL controlada por el atacante. Debido a la vinculación del servicio a `*:631 ( INADDR_ANY )`, se pueden explotar varios errores en `cups-browsed` en secuencia para introducir una impresora maliciosa en el sistema. Esta cadena de exploits finalmente permite a un atacante ejecutar comandos arbitrarios de forma remota en la máquina de destino sin autenticación cuando se inicia un trabajo de impresión. Esto plantea un riesgo de seguridad significativo en la red. Cabe destacar que esta vulnerabilidad es particularmente preocupante ya que se puede explotar desde Internet público, lo que potencialmente expone una gran cantidad de sistemas a ataques remotos si sus servicios CUPS están habilitados.

References

https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8exploit, vendor-advisory
https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47not-applicable
https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5not-applicable
https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6not-applicable
https://github.com/OpenPrinting/cups-browsed/blob/master/daemon/cups-browsed.c#L13992product
https://www.cups.orgproduct
https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-Iexploit, third-party-advisory
http://www.openwall.com/lists/oss-security/2024/09/27/6mailing-list
https://github.com/OpenPrinting/cups-browsed/commit/1debe6b140c37e0aa928559add4abcc95ce54aa2patch
https://security.netapp.com/advisory/ntap-20241011-0001/
https://lists.debian.org/debian-lts-announce/2024/09/msg00048.html
http://www.openwall.com/lists/oss-security/2025/09/11/2

Sources

SourceRecordLicence
CVE ListCVE-2024-47176 changed 2025-11-04CVE Terms of Use
NVDCVE-2024-47176 changed 2026-06-17Public domain