OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network
A vulnerability in CUPS printing system allows anyone on the network to send print jobs to a shared queue without logging in, potentially running malicious commands on the server. This happens because the system doesn't properly validate input data in print job settings.
CWE-20 (improper input validation) in CUPS 2.4.16 and prior allows unauthenticated remote attackers to achieve arbitrary code execution as the 'lp' user via crafted Print-Job requests to exposed shared PostScript queues. The attack exploits improper parsing of the page-border parameter, where embedded newlines bypass escaping mechanisms, allowing injection of PPD scheduler control records that execute arbitrary binaries.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →