Paper/Archive/CVE-2024-47175

CVE-2024-47175

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
libppd<= 2.1b1–CNA
libppd≤ 2.1b1–CISA-ADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6refgithub.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8refgithub.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47refgithub.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5refcups.orgrefevilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-Irefopenwall.com/lists/oss-security/2024/09/27/3refgithub.com/OpenPrinting/libppd/commit/d681747ebf12602cb426725eb8ce2753211e2477reflists.debian.org/debian-lts-announce/2024/09/msg00047.htmlrefsecurity.netapp.com/advisory/ntap-20241011-0001refpsirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0016