Rewrite: A new set of security vulnerabilities has been disclosed in the OpenPrinting…
- User
Rewrite: A new set of security vulnerabilities has been disclosed in the OpenPrinting Common Unix Printing System (CUPS) on Linux systems that could permit remote command execution under certain conditions.
"A remote unauthenticated attacker can silently replace existing printers' (or install new ones) IPP urls with a malicious one, resulting in arbitrary command execution (on the computer) when a print job is started (from that computer)," security researcher Simone Margaritelli said.
CUPS is a standards-based, open-source printing system for Linux and other Unix-like operating systems, including ArchLinux, Debian, Fedora, Red Hat Enterprise Linux (RHEL), ChromeOS, FreeBSD, NetBSD, OpenBSD, openSUSE, and SUSE Linux.
- Assistant
A new batch of security vulnerabilities has been identified in the OpenPrinting Common Unix Printing System (CUPS) on Linux systems, potentially allowing remote command execution under specific conditions.
According to security researcher Simone Margaritelli, "An unauthenticated remote attacker can covertly alter the IPP URLs of existing printers or add new ones with malicious intent. This can lead to arbitrary command execution on the computer when a print job is initiated from that machine."
CUPS is an open-source printing system based on standards, used in Linux and other Unix-like operating systems such as ArchLinux, Debian, Fedora, Red Hat Enterprise Linux (RHEL), ChromeOS, FreeBSD, NetBSD, OpenBSD, openSUSE, and SUSE Linux.
- User
Rewrite: The list of vulnerabilities is as follows -
CVE-2024-47176 - cups-browsed <= 2.0.1 binds on UDP INADDR_ANY:631 trusting any packet from any source to trigger a Get-Printer-Attributes IPP request to an attacker-controlled URL CVE-2024-47076 - libcupsfilters <= 2.1b1 cfGetPrinterAttributes5 does not validate or sanitize the IPP attributes returned from an IPP server, providing attacker-controlled data to the rest of the CUPS system CVE-2024-47175 - libppd <= 2.1b1 ppdCreatePPDFromIPP2 does not validate or sanitize the IPP attributes when writing them to a temporary PPD file, allowing the injection of attacker-controlled data in the resulting PPD CVE-2024-47177 - cups-filters <= 2.0.1 foomatic-rip allows arbitrary command execution via the FoomaticRIPCommandLine PPD parameter
- Assistant
The vulnerabilities are detailed as follows:
-
CVE-2024-47176: In cups-browsed version 2.0.1 and earlier, it listens on UDP INADDR_ANY:631, allowing any packet from any source to initiate a Get-Printer-Attributes IPP request to a URL controlled by an attacker.
-
CVE-2024-47076: In libcupsfilters version 2.1b1 and earlier, the function cfGetPrinterAttributes5 fails to validate or sanitize IPP attributes received from an IPP server, exposing attacker-controlled data to the remainder of the CUPS system.
-
CVE-2024-47175: In libppd version 2.1b1 and earlier, the function ppdCreatePPDFromIPP2 does not validate or sanitize IPP attributes when writing to a temporary PPD file, allowing the injection of attacker-controlled data into the generated PPD.
-
CVE-2024-47177: In cups-filters version 2.0.1 and earlier, foomatic-rip permits arbitrary command execution through the FoomaticRIPCommandLine PPD parameter.
-
- User
Rewrite: A net consequence of these shortcomings is that they could be fashioned into an exploit chain that allows an attacker to create a malicious, fake printing device on a network-exposed Linux system running CUPS and trigger remote code execution upon sending a print job
- Assistant
These vulnerabilities could be combined into an exploit chain, enabling an attacker to set up a malicious, counterfeit printing device on a Linux system with network exposure running CUPS. This setup could be used to execute remote code when a print job is sent.