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
CVE-2024-32019-ndsudo-local-privilege-escalation-NetData — Python PoC for Netdata LPE (CVE-2024-32019) exploiting unsanitized PATH in ndsudo to escalate privileges to root via hijacked binaries. | Kitploit
Tools/GitHubGitHub/julichaan/cve-2024-32019-ndsudo-local-privilege-escalation-netdata
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubjulichaan/cve-2024-32019-ndsudo-local-privilege-escalation-netdata

CVE-2024-32019-ndsudo-local-privilege-escalation-NetData

Share

Python PoC for Netdata LPE (CVE-2024-32019) exploiting unsanitized PATH in ndsudo to escalate privileges to root via hijacked binaries.

View Repository
3411 months agoNot yet reviewed

CVE-2024-32019 Proof of Concept (Python)

A Python implementation of the Local Privilege Escalation (LPE) exploit for Netdata (CVE-2024-32019).

This script exploits a vulnerability in the ndsudo component where the PATH environment variable is not properly sanitized. This allows a local attacker to execute arbitrary commands as root by hijacking allowed binaries (such as nvme-list, ip, gem, etc. modify it as you need in the begining of the code).

⚠️ Disclaimer

FOR EDUCATIONAL PURPOSES ONLY. This code is intended for security researchers, CTF players, and system administrators to test their own systems. The author takes no responsibility for any misuse of this code. Do not use this against systems you do not have permission to test.

🚀 Features

  • Pure Python: No external dependencies required (uses standard library).
  • Auto-Discovery: Automatically locates the ndsudo binary in common installation paths (modify it if necessary)
  • Smart Brute-force: Unlike the original script which might target a single command, this script iterates through a list of known allowed commands (including nvme-list, ip, gem, node, npm, etc.) to maximize success rate.
  • Auto-Cleanup: Removes the malicious payload from the disk after execution.

📋 Prerequisites

  • Access to the target machine as a low-privileged user.
  • Python 3 installed on the target machine.
  • A vulnerable version of Netdata installed.

🛠️ Usage

  1. Clone the repository (or copy exploit.py to the target machine):
    git clone https://github.com/julichaan/CVE-2024-32019-ndsudo-local-privilege-escalation-NetData.git
    cd CVE-2024-32019-Python
    python3 poc.py
    
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.

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    576
  • 3

    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.

    354
  • 4

    redforge

    cybersecurity91/redforge

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

    339
  • 5

    ARTEX

    baarai/artex

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

    323
  • 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.

    315

Explore all tools

Browse our collection of tools

View all tools →