Skip to main content
← All vulnerabilities
CVE-2024-47175

libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating the PPD buffer

Published
Last modified
published
Not listed in CISA KEV
1 Metasploit module
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • OpenPrinting libppd

    through 2.1b1

References 7

GitHub · OpenPrinting/libppd

GitHub · OpenPrinting/cups-browsed

GitHub · OpenPrinting/cups-filters

GitHub · OpenPrinting/libcupsfilters

cups.org

evilsocket.net

GitHub · rapid7/metasploit-framework