Improper authorization control for web services In cups
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | - | ||
alpine v3.22 | 2.4.18-r0 | ||
alpine v3.24 | 2.4.18-r0 | ||
debian 14 | 2.4.17-1 | ||
rpm rhel8 | - | - | |
debian 13 | - | ||
rpm rhel10 | - | - | |
rpm rhel6 | - | - | |
rpm rhel7 | - | - | |
rpm rhel9 | - | - |
1-10 of 13
10
Aliases
References