{"id":"CVE-2024-47076","published":"2024-09-26T21:18:22Z","modified":"2025-11-03T22:19:59Z","title":"libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server","vendor":"OpenPrinting","product":"libcupsfilters","tier":"core","eol":null,"affectedVersions":[{"vendor":"OpenPrinting","product":"libcupsfilters","versions":["<= 2.1b1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-27T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"description":{"text":"CUPS is a standards-based, open-source printing system, and `libcupsfilters` contains the code of the filters of the former `cups-filters` package as library functions to be used for the data format conversion tasks needed in Printer Applications. The `cfGetPrinterAttributes5` function in `libcupsfilters` does not sanitize IPP attributes returned from an IPP server. When these IPP attributes are used, for instance, to generate a PPD file, this can lead to attacker controlled data to be provided to the rest of the CUPS system.","provenance":"source","from":"CVE.org"},"summary":{"text":"The libcupsfilters library, part of the OpenPrinting CUPS printing system, has a flaw in its cfGetPrinterAttributes5 function, which fails to sanitize IPP attributes returned from an IPP server. When those attributes are used for tasks such as generating a PPD file, attacker-controlled data can be passed into the rest of the CUPS system; an attacker needs only network access to a malicious or spoofed IPP server, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:11:54Z"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.79896,"percentile":0.99619,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":4,"pulses":[{"name":"ACTUALIZACION | Long Term Support (LTS) channel for ChromeOS - Major update from 120 -&gt; 126 Chrome Releases","url":"https://otx.alienvault.com/pulse/67001accebe7ac7738d5053c","created":"2024-10-04"},{"name":"ACTUALIZACIÓN | cups-filters vulnerabilities","url":"https://otx.alienvault.com/pulse/66faab0f798418fcb1d64f2b","created":"2024-09-30"},{"name":"Critical Linux CUPS Printing System Flaws Could Allow Remote Command Execution","url":"https://otx.alienvault.com/pulse/66f79d146f77699c76532842","created":"2024-09-28"},{"name":"Critical Flaws in UNIX/Linux Printing System Enable Remote Code Execution","url":"https://otx.alienvault.com/pulse/66f704e78d659ab692fbb616","created":"2024-09-27"}],"provenance":"machine"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6","tags":["x_refsource_MISC"]},{"url":"https://www.cups.org","tags":["x_refsource_MISC"]},{"url":"https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenPrinting/libcupsfilters/commit/95576ec3d20c109332d14672a807353cdc551018","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20241011-0001/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00048.html","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2024-42263","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-42263","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-09-29","earliestUrl":"https://github.com/mutkus/CVE-2024-47076","repos":[{"name":"mutkus/CVE-2024-47076","url":"https://github.com/mutkus/CVE-2024-47076","stars":0,"created":"2024-09-29"}]},"metasploit":[{"name":"CUPS IPP Attributes LAN Remote Code Execution","module":"exploit/multi/misc/cups_ipp_remote_code_execution","type":"exploit","disclosureDate":"2024-09-26","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/cups_ipp_remote_code_execution.rb"}],"first":{"date":"2024-09-26","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/cups_ipp_remote_code_execution.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-09-26","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-47076","provenance":"source"},{"date":"2024-09-26","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2024-09-29","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/cups_ipp_remote_code_execution.rb","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":32.5,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9962"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":1.59,"detail":"4 pulses"},{"name":"CVSS severity","points":6.02,"detail":"base score 8.6"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}