Exploit database

Vulnerability

CVE-2024-47076

libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server

Vulnerability details

Score
8.6
Severity
high

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Description

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.

CVE Program

Exploit source choices

5 sources
CUPS IPP Attributes LAN Remote Code Execution
MSF-multi--misc--cups_ipp_remote_code_executionMetasploitLinux,Unix / remotePreferred

This module exploits vulnerabilities in OpenPrinting CUPS, which is running by default on most Linux distributions. The vulnerabilities allow an attacker on the LAN to advertise a malicious printer that triggers remote code execution when a victim sends a print job to the malicious printer. Successful exploitation requires user interaction, but no CUPS services need to be reachable via accessible ports. Code execution occurs in the context of the lp user. Affected versions are cups-browsed <= 2.0.1, libcupsfilters <= 2.1b1, libppd <= 2.1b1, and cups-filters <= 2.0.1.

2024-09-26cups_ipp_remote_code_execution.rb
malwaretech/cve-2024-47176-scanner
GH-e016d61853a744f34b89dad791e9caefGitHubUnofficial GitHub source

A simple scanner for identifying vulnerable cups-browsed instances on your network

2024-10-072 files · 67 stars
l0n3m4n/cve-2024-47176
GH-d78f31cc01c34b922c3ec3e85af79307GitHubUnofficial GitHub source

Unauthenticated RCE on cups-browsed (exploit and nuclei template)

2024-10-035 files · 17 stars
lkarlslund/jugular
GH-2878f43b48c6f4cf6ab0bcddc084dc9bGitHubUnofficial GitHub source

Ultrafast CUPS-browsed scanner (CVE-2024-47176)

2024-09-297 files · 7 stars
alie-n/cups-vulnerability-exploit
GH-3e0dba1d29777c986c35ee27ef298870GitHubUnofficial GitHub source

alie-n/cups-vulnerability-exploit source repository

2024-11-0422 files · 0 stars