PT-2024-6501
CVE-2024-47176
·
Published
2024-09-26
·
Updated
2026-10-08
Description by
CVSS 2.0
7.6
HighMetricsAV:N/AC:H/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
CUPS cups-browsed versions 2.0.1 and earlier
Description
The
cups-browsed component of the Common Unix Printing System (CUPS), which handles network printer discovery, binds to INADDR ANY:631. This configuration causes the service to trust packets from any source, including those from the public internet. An attacker can exploit this by sending a specially crafted packet to force the service to send a Get-Printer-Attributes IPP request to an attacker-controlled URL. This request can leak sensitive system information via the User-Agent header. Furthermore, a chain of bugs allows an attacker to introduce a malicious printer into the system, ultimately enabling unauthenticated remote code execution on the target machine when a print job is initiated. The issue involves the ppdCreatePPDFromIPP2() function in the libppd library, which generates PostScript Printer Description (PPD) files based on IPP responses.Recommendations
Update cups-browsed to a version later than 2.0.1.
As a temporary mitigation, restrict access to UDP port 631 or disable the
cups-browsed service to prevent unauthorized network discovery.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾