Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cupspot-2024-47177 — PoC honeypot for detecting exploit attempts against CVE-2024-47177 | Kitploit
Tools/GitHubGitHub/referefref/cupspot-2024-47177
Defensive ToolsVulnerability AnalysisNetwork SecurityIntrusion Detection
GitHubreferefref/cupspot-2024-47177

cupspot-2024-47177

PoC honeypot for detecting exploit attempts against CVE-2024-47177

View Repository
82362 years agoNot yet reviewed
Share

CUPS Honeypot

Overview

This project implements a honeypot for capturing attempted exploitations of vulnerabilities in the CUPS (Common UNIX Printing System). Specifically, it is designed to monitor for exploitation attempts related to CVE-2024-47177. This vulnerability allows remote command execution through the FoomaticRIPCommandLine parameter in PPD files. If a malicious value is passed to this parameter, it can be executed as a user-controlled command, potentially leading to severe security breaches.

CUPS and CVE-2024-47177

CUPS is a standards-based, open-source printing system used widely across various UNIX-like operating systems. The cups-filters package provides essential backends, filters, and utilities for CUPS 2.x on non-Mac OS systems. The critical flaw exploited in CVE-2024-47177 is the improper handling of the FoomaticRIPCommandLine, which can be leveraged in conjunction with other logic bugs, such as those described in CVE-2024-47176, to execute arbitrary commands on the host system.

This honeypot is designed to log exploit attempts by monitoring incoming print job requests and inspecting them for suspicious attributes, specifically focusing on the printer-privacy-policy-uri that may contain commands.

Special Note

This project is inspired by the initial disclosure by EvilSocket, which highlights the security risks associated with CUPS and provides a comprehensive overview of the exploitation techniques involved.

Features

  • Passive Monitoring: The honeypot can run in a passive mode, listening for incoming print job requests without actively targeting a specific host.
  • Exploit Detection: Captures and logs attempts to exploit the CUPS vulnerabilities by examining the attributes of print job requests.
  • Random Printer Configuration: Automatically selects a random printer driver and generates a random printer name using available PPDs on the system.
  • UDP Packet Sending: Optionally, it can send browsing packets to a specified target host, simulating a networked printer advertisement.

Requirements

To run this honeypot, ensure you have the following dependencies installed:

  • Ubuntu 23.x (tested)
  • CUPS installed on your system
  • The cups and subprocess Python libraries (included in standard Python installations)

Installation

  • Download and run the install.sh file:

    curl -sSL https://raw.githubusercontent.com/referefref/cupspot-2024-47177/refs/heads/main/install.sh | bash
    

Usage

To run the honeypot, execute the following command:

python3 cupspot.py <LOCAL_HOST> [TARGET_HOST]
#<LOCAL_HOST>: The local address where the honeypot will listen for incoming print requests.
#[TARGET_HOST]: (Optional) The IP address of a target host to which browsing packets will be sent.
                #If omitted, the honeypot will run in passive mode.

Example

Run the honeypot and send packets to a specific target:

python3 cupspot.py 127.0.0.1 192.168.1.100

Or run it in passive mode:

python3 cupspot.py 127.0.0.1
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    362
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    311
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    287

Explore all tools

Browse our collection of tools

View all tools →