Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2024-47175

Description

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.

POC

Reference

- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8

- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47

- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5

- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6

Github

- https://github.com/0x7556/CVE-2024-47176

- https://github.com/0xCZR1/PoC-Cups-RCE-CVE-exploit-chain

- https://github.com/782e616c6d/782e616c6d

- https://github.com/ARPSyndicate/cve-scores

- https://github.com/Alie-N/cups-vulnerability-exploit

- https://github.com/AxthonyV/CVE-2024-47176

- https://github.com/Kuri119/EvilCups

- https://github.com/MalwareTech/CVE-2024-47176-Scanner

- https://github.com/adegoodyer/kubernetes-admin-toolkit

- https://github.com/gumerzzzindo/CVE-2024-47176

- https://github.com/l0n3m4n/CVE-2024-47176

- https://github.com/lkarlslund/jugular

- https://github.com/nomi-sec/PoC-in-GitHub

- https://github.com/rix4uni/medium-writeups