PoC: Unauthenticated RCE on cups-browsed ## π Vulnerability information β **Published**: 2024-09-26 β **Base Score**: 5.3 (MEDIUM) β **EPSS Score**: 0.06% Probability of exploitation. β **Vector**: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N β **Description**: CUPS is a standards-based, open-source printing system, and `cups-browsed` contains network printing functionality including, but not limited to, auto-discovering print services and shared printers. `cups-browsed` binds to `INADDR_ANY:631`, causing it to trust any packet from any source, and can cause the `Get-Printer-Attributes` IPP request to an attacker controlled URL. When combined with other vulnerabilities, such as CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177, an attacker can execute arbitrary commands remotely on the target machine without authentication when a malicious printer is printed to. ## π Table of Contents β π [Information](#-vulnerability-information) β π οΈ [Installation](#-installation) β βοΈ [Usage](#-usage) β π [Discovery](#-discovery) β π [References](#-references) β π’ [Disclaimer](#disclaimer) ## π οΈ Installation β`bash $ python3 -m venv venv && source venv/bin/activate $ pip install zeroconf ippserver colorama $ python3 CVE-2024-47176.py -h β` ## π‘ Systems that are potentially vulnerable must have all the following conditions: β [Affectedβ¦Read More
