← volver
CVE-2026-34978

OpenPrinting CUPS: Path traversal in RSS notify-recipient-uri enables file write outside CacheDir/rss (and clobbering of job.cache)

CVSS 6.5 MEDIUMEPSS 0.4%CWE-22
En resumen

OpenPrinting CUPS tiene un defecto donde un atacante puede usar trucos de traversal de ruta para escribir archivos fuera de la carpeta prevista, potencialmente corrompiendo archivos del sistema y causando pérdida de trabajos de impresión. Esto ocurre a través de una solicitud de impresión remota.

Detalle técnico

Vulnerabilidad de traversal de ruta (CWE-22) en el componente notificador RSS permite que clientes IPP remotos eludan restricciones de directorio mediante secuencias .. en el parámetro notify-recipient-uri. El proceso notificador (ejecutándose como usuario lp) puede sobrescribir archivos de estado críticos como job.cache usando operaciones de rename, causando pérdida de datos y fallos en el scheduler.

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, the RSS notifier allows .. path traversal in notify-recipient-uri (e.g., rss:///../job.cache), letting a remote IPP client write RSS XML bytes outside CacheDir/rss (anywhere that is lp-writable). In particular, because CacheDir is group-writable by default (typically root:lp and mode 0770), the notifier (running as lp) can replace root-managed state files via temp-file + rename(). This PoC clobbers CacheDir/job.cache with RSS XML, and after restarting cupsd the scheduler fails to parse the job cache and previously queued jobs disappear. At time of publication, there are no publicly available patches.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Productos afectados
OpenPrinting · cups

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

Hablar con TrueHacking →