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/mohamedjawady/cve-2026-53613-poc
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingBinary Exploitation
GitHubmohamedjawady/cve-2026-53613-poc

CVE-2026-53613-poc

Proof-of-concept exploit for CVE-2026-53613, a TOCTOU vulnerability in mount(8) enabling local privilege escalation to root via symlink race.

Share
View Repository
382 months agoNot yet reviewed

CVE-2026-53613 PoC

TOCTOU vulnerability in mount(8) allowing local privilege escalation to root.

Vulnerable Versions

  • util-linux 2.41.0 through 2.41.4
  • util-linux 2.42.0 through 2.42.1

Exploits

FileMethodTarget
exploit_shell.shSSH key extraction/root
exploit_direct_shell.shDirect shell/bin

Quick Start

# Method 1: Extract SSH key and SSH as root
bash exploit_shell.sh 1000

# Method 2: Mount /bin and spawn shell
bash exploit_direct_shell.sh 2000

Increase iterations for higher success rate on slow systems.

How It Works

  1. TOCTOU race window in mount(8) path validation
  2. Replace directory with symlink before mount validates
  3. Kernel follows symlink to sensitive location (/root or /bin)
  4. Access mounted filesystem or execute privileged code
  5. Privilege escalation achieved

Attack Chain

Unprivileged user
  ↓
mount(8) SUID binary
  ↓
Win TOCTOU race
  ↓
Mount /root filesystem
  ↓
Extract SSH private key
  ↓
SSH as root
  ↓
ROOT SHELL

Requirements

  • Linux system with vulnerable util-linux
  • 256MB free disk space
  • Write access to /tmp
  • No sudoers configuration needed (mount(8) is SUID)
  • SSH running (for Method 1, optional for Method 2)

Technical Details

The vulnerability exists because:

  1. mount(8) validates the target path using stat()
  2. Time passes (race window)
  3. Attacker replaces directory with symlink to /root or /bin
  4. mount(8) calls mount() syscall with original path string
  5. Kernel follows symlink, mounts sensitive directory at attacker location
  6. No re-validation between validation and syscall = TOCTOU

Success Indicators

  • Race won message appears
  • Mounted filesystem accessible
  • Shell spawned or SSH login succeeds

Patched Versions

  • util-linux 2.41.5+
  • util-linux 2.42.2+

Patch uses fd-based mount operations to prevent symlink TOCTOU.

Disclaimer

For educational and authorized security testing only.

  • ✅ Authorized penetration testing
  • ✅ Vulnerability research
  • ✅ Defensive assessment
  • ❌ Unauthorized access
  • ❌ Malicious exploitation

Obtain proper authorization before testing on systems you don't own.

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.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    385
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    279

Explore all tools

Browse our collection of tools

View all tools →