← back
CVE-2024-47076highCWE-20

libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server

58Vexday Risk Score

Patch soon. It has a working public exploit.

ssvc Attendcvss 8.6epss 78%
from disclosure to weapon0 days
Published on NVDSep 26
metasploitSep 26
exploitation probability
78%top 1% of all CVEs
observed exploitation
nono source reports it
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Fixed
20 products (338 components)
Red Hat Enterprise Linux AppStream (v. 8) · Red Hat Enterprise Linux AppStream (v. 9) · Red Hat Enterprise Linux AppStream E4S (v.8.6) · Red Hat Enterprise Linux AppStream E4S (v.9.0) · Red Hat Enterprise Linux AppStream EUS (v.8.8) · and others 15
Not affected
1 product (3 components) — because the vulnerable code is not present in the product
Red Hat Enterprise Linux 10
In short

The libcupsfilters library fails to validate printer information received from an IPP server, allowing an attacker to inject malicious data that gets passed to other parts of the CUPS printing system. This could lead to unauthorized access or system compromise.

Technical detail

The cfGetPrinterAttributes5 function in libcupsfilters does not sanitize IPP attributes from remote servers, enabling attribute injection attacks where malicious IPP responses are processed without validation and subsequently used in PPD file generation. A remote attacker controlling an IPP server can inject crafted attributes that propagate to downstream CUPS components, potentially leading to arbitrary code execution or privilege escalation depending on how the data is consumed.

Summary generated and translated by AI from the official description.
CUPS is a standards-based, open-source printing system, and `libcupsfilters` contains the code of the filters of the former `cups-filters` package as library functions to be used for the data format conversion tasks needed in Printer Applications. The `cfGetPrinterAttributes5` function in `libcupsfilters` does not sanitize IPP attributes returned from an IPP server. When these IPP attributes are used, for instance, to generate a PPD file, this can lead to attacker controlled data to be provided to the rest of the CUPS system.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N