← volver
CVE-2026-34990

OpenPrinting CUPS: Local print admin token disclosure using temporary printers

CVSS 5 MEDIUMEPSS 0.3%CWE-287
En resumen

Un usuario local puede engañar a CUPS (sistema de impresión) para revelar un token de autenticación que permite crear impresoras falsas y sobrescribir archivos del sistema como root. Esto podría darle a un usuario sin privilegios control total de la computadora.

Detalle técnico

CWE-287 (Autenticación Impropia) permite que un atacante local sin privilegios coaccione a cupsd para autenticarse en un servicio IPP controlado por el atacante en localhost, obteniendo un token de Autorización reutilizable. El atacante luego explota CUPS-Create-Local-Printer con printer-is-shared=true para eludir restricciones de URI FileDevice, permitiendo sobrescritura arbitraria de archivos como root mediante operaciones de cola de impresión maliciosa.

Resumen generado y traducido por IA a partir de la descripción oficial.
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a local unprivileged user can coerce cupsd into authenticating to an attacker-controlled localhost IPP service with a reusable Authorization: Local ... token. That token is enough to drive /admin/ requests on localhost, and the attacker can combine CUPS-Create-Local-Printer with printer-is-shared=true to persist a file:///... queue even though the normal FileDevice policy rejects such URIs. Printing to that queue gives an arbitrary root file overwrite; the PoC below uses that primitive to drop a sudoers fragment and demonstrate root command execution. At time of publication, there are no publicly available patches.
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:L
Productos afectados
OpenPrinting · cups

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →