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-2021-4034 — Python proof-of-concept exploit for CVE-2021-4034 that abuses the SUID pkexec binary to escalate privileges and spawn an interactive root shell without credentials. | Kitploit
Tools/GitHubGitHub/a1vinsmith/cve-2021-4034
Privilege EscalationPayload GenerationVulnerability AnalysisExploitationPenetration TestingBinary Exploitation
GitHuba1vinsmith/cve-2021-4034

CVE-2021-4034

Python proof-of-concept exploit for CVE-2021-4034 that abuses the SUID pkexec binary to escalate privileges and spawn an interactive root shell without credentials.

View Repository
1224 years agoNot yet reviewed
Share

CVE-2021-4034 (pkexec) The use of this python script exploits the vulnerability in the pkexec file to gain root access without providing credentials

· Detects if the binary has SUID privileges, in which case it is vulnerable

usuario@gatogamer $ ls -la /usr/bin/pkexec
.rwsr-xr-x 1 root root /usr/bin/pkexec
usuario@gatogamer $
  

· Runs the exploit to gain root access, in this case it is only necessary to run it with python3, once finished you will have a root shell

usuario@gatogamer $ python3 CVE-2021-4034.py
 [+] Iniciando el exploit
 [+] Exploit Completado
# whoami
root
#
  

· As a complement, you can change the value of TERM, it can be 'xterm' or 'xterm-256color' for better aesthetics, also run a different shell either 'bash' or 'zsh', now we have a fully interactive console

# export TERM=xterm-256color
# zsh
root@gatogamer $
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)

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

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

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

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

    288

Explore all tools

Browse our collection of tools

View all tools →