Patchfirst
CVE-2024-47175 Public exploit High · 8.6 EPSS 63.6%

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

Summary

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.

Breakdown
32.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0

Affected versions and fixes

as published in the CVE record

OpenPrinting libppd

Affected: <= 2.1b1

What security researchers reported

Not named in any threat report yet

Also mentioned in 3 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

11 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close