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
Tools/GitHubGitHub/abrewer251/cve-2025-32463_sudo_poc
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & EducationBinary ExploitationLabs & Practice
GitHub
Share
abrewer251/cve-2025-32463_sudo_poc

CVE-2025-32463_Sudo_PoC

PoC for CVE-2025-32463: Local privilege escalation in sudo via --chroot. Exploits NSS module injection through crafted chroot environments. Designed for security researchers and lab-only environments.

View Repository
12281 year agoNot yet reviewed

CVE-2025-32463_Sudo_PoC

PoC for CVE-2025-32463: Local privilege escalation in sudo via --chroot. Exploits NSS module injection through crafted chroot environments. Designed for security researchers and lab-only environments.

CVE-2025-32463 - Local Privilege Escalation via sudo --chroot

A Python-based proof-of-concept exploit for CVE-2025-32463 — a local privilege escalation vulnerability in sudo (v1.9.14 - v1.9.17).
This exploit leverages the insecure --chroot option in sudo and malicious NSS resolution to execute code as root.


⚠️ Disclaimer

This code is provided strictly for educational and research purposes only.
Do NOT use on production systems or without explicit authorization.
You are solely responsible for complying with applicable laws and policies.


📖 Vulnerability Overview

CVE-2025-32463 is a local privilege escalation flaw in sudo, introduced by its --chroot (-R) functionality.
If a user is allowed to invoke sudo with the -R flag, they can:

  • Create a custom chroot environment
  • Inject a fake nsswitch.conf
  • Load malicious libnss_Xfiles.so.2
  • Trigger a constructor payload when sudo resolves user info — running code as root

🧰 Requirements

  • Python 3
  • gcc (for compiling the shared object payload)
  • A vulnerable sudo binary (v1.9.14 ≤ version < v1.9.17p1)
  • A system where sudo allows the use of --chroot (e.g., via sudoers)

Tested on:

  • Ubuntu 22.04
  • CentOS 8.4 (with downgraded sudo)
  • Debian 11

🚀 Usage

git clone https://github.com/yourhandle/CVE-2025-32463-poc.git
cd CVE-2025-32463-poc
python3 exploit.py [-v]
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.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

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

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

    280

Explore all tools

Browse our collection of tools

View all tools →