libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating the PPD buffer
No fixed version listed yet.Check the vendor advisory. References ↓
OpenPrinting · libppd
The libppd library's ppdCreatePPDFromIPP2 function, used for legacy PPD file support in OpenPrinting's libppd, fails to sanitize IPP attributes when it builds the PPD buffer. An attacker who can supply printer attributes that reach this function over the network, without authentication or user interaction, can achieve code execution through Foomatic when the function is combined with cfGetPrinterAttributes5.
Official description · CVE.org
CUPS is a standards-based, open-source printing system, and `libppd` can be used for legacy PPD file support. The `libppd` function `ppdCreatePPDFromIPP2` does not sanitize IPP attributes when creating the PPD buffer. When used in combination with other functions such as `cfGetPrinterAttributes5`, can result in user controlled input and ultimately code execution via Foomatic. This vulnerability can be part of an exploit chain leading to remote code execution (RCE), as described in CVE-2024-47176.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (Metasploit) was available the same day.
Affected versions and fixes
as published in the CVE recordOpenPrinting libppd
Affected: <= 2.1b1
What security researchers reported
Not named in any threat report yetAlso mentioned in 3 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.