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-2025-32463 — Proof-of-concept exploit for CVE-2025-32463, a sudo chroot privilege escalation vulnerability, demonstrating arbitrary shared object loading to gain root privileges. | Kitploit
Tools/GitHubGitHub/12bijaya/cve-2025-32463
Privilege EscalationVulnerability AnalysisExploitationLearning & EducationBinary Exploitation
GitHub12bijaya/cve-2025-32463

CVE-2025-32463

Proof-of-concept exploit for CVE-2025-32463, a sudo chroot privilege escalation vulnerability, demonstrating arbitrary shared object loading to gain root privileges.

View Repository
1351 year agoNot yet reviewed
Share

CVE-2025-32463 - Sudo Privilege Escalation PoC

/////// Disclaimer /////////////////////////////////////////////////////////////////////////////////////////////////////////////////

This project is provided solely for educational purposes. By using any part of this repository, you acknowledge that you will not utilize the code or techniques contained herein to gain unauthorized access to systems that you do not own or have explicit permission to test.

The author (nflatrea) assumes no responsibility or liability for any misuse, damage, or consequences resulting from the use of this proof-of-concept or related materials, and you agree to use this code at your own risk.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

This repository provides a proof-of-concept exploit for a local privilege escalation vulnerability in sudo versions 1.9.1 through 1.9.17, allowing an unprivileged user to escalate to root privileges by abusing the --chroot (-R) feature, even without specific sudo rules.

The latter includes a single file:

bipboop.sh : A self-contained bash script that demonstrates the exploit. It creates a fake chroot environment, builds a malicious NSS module, and uses sudo -R to trigger the vulnerability.

Requirements

  • A Linux system with sudo version between 1.9.14 and 1.9.17
  • gcc and basic build tools installed

Vulnerability Overview

CVE-2025-32463 allows for arbitrary shared object loading with root privileges due to unsafe chroot() behavior combined with Name Service Switch (NSS) lookups during command matching, enabling an unprivileged user to exploit writable and controlled directories. When sudo chroots into a directory that is writable and controlled by an unprivileged user, it will resolve user information using the NSS configuration inside the chroot. This leads to arbitrary shared object loading with root privileges.

By planting a malicious shared object (e.g., libnss_/bipboop.so.2) in the fake chroot environment, an attacker can trigger its execution with sudo, resulting in privilege escalation.

This issue was introduced in sudo version 1.9.14 and is patched in version 1.9.17p1, where the chroot feature was deprecated.

Affected Versions

  • sudo 1.9.14 to 1.9.17 (VULNERABLE)
  • sudo 1.9.17p1 and later (PATCHED)
  • Legacy versions prior to 1.9.14 (chroot feature did not exist) (NOT AFFECTED)

Credit

CVE-2025-32463 was discovered by Rich Mirch of the Stratascale Cyber Research Unit (CRU).

Full Disclosure : https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot

The Stratascale CRU team conducted detailed analysis of the sudo chroot implementation and identified the vulnerability as part of ongoing research into privileged Linux utilities. Their work included discovery, exploitation, responsible disclosure to the sudo maintainer, and coordination with MITRE for CVE assignment.

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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    421
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

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

    333
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    331

Explore all tools

Browse our collection of tools

View all tools →