← 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
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