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

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-4034 — Precompiled multi-architecture exploit for CVE-2021-4034 (pkexec LPE) that drops a shared object to gain root privileges, with build scripts for custom targets. | Kitploit
Tools/GitHubGitHub/c3c/cve-2021-4034
Privilege EscalationExploit FrameworksExploitationPayload DevelopmentBinary Exploitation
GitHubc3c/cve-2021-4034

CVE-2021-4034

Precompiled multi-architecture exploit for CVE-2021-4034 (pkexec LPE) that drops a shared object to gain root privileges, with build scripts for custom targets.

View Repository
28134 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-4034

Precompiled builds for CVE-2021-4034.

Of course you shouldn't trust precompiled builds :)

This release works slightly different: first a minimal shared object is created. This object is packaged into the main binary and dropped upon execution. Musl is used for compilation to minimize dependencies (e.g. specific libc versions maybe?)

Acknowledgements

  • Original advisory by Qualys: https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
  • Berdav's (Davide Berardi) poc: https://github.com/berdav/CVE-2021-4034
  • Blasty's ([email protected]) poc: https://haxx.in/files/blasty-vs-pkexec2.c

Binaries

TargetLink
aarch64cve-2021-4034_aarch64
aarch64_becve-2021-4034_aarch64_be
arm-eabicve-2021-4034_arm-eabi
arm-eabihfcve-2021-4034_arm-eabihf
armeb-eabicve-2021-4034_armeb-eabi
armeb-eabihfcve-2021-4034_armeb-eabihf
armel-eabicve-2021-4034_armel-eabi
armel-eabihfcve-2021-4034_armel-eabihf
armv5l-eabicve-2021-4034_armv5l-eabi
armv5l-eabihfcve-2021-4034_armv5l-eabihf
armv6-eabicve-2021-4034_armv6-eabi
armv6-eabihfcve-2021-4034_armv6-eabihf
armv7l-eabihfcve-2021-4034_armv7l-eabihf
armv7m-eabicve-2021-4034_armv7m-eabi

Building

If you want to build it yourself, modify the targets file to include the architectures that you need. Then run build.sh. You will need Docker.

Download Tool
armv7r-eabihfcve-2021-4034_armv7r-eabihf
i486cve-2021-4034_i486
i686cve-2021-4034_i686
m68kcve-2021-4034_m68k
mipscve-2021-4034_mips
mips-n32sfcve-2021-4034_mips-n32sf
mips-sfcve-2021-4034_mips-sf
mips64cve-2021-4034_mips64
mips64-n32cve-2021-4034_mips64-n32
mips64-n32sfcve-2021-4034_mips64-n32sf
mips64elcve-2021-4034_mips64el
mips64el-n32cve-2021-4034_mips64el-n32
mips64el-n32sfcve-2021-4034_mips64el-n32sf
mipselcve-2021-4034_mipsel
mipsel-n32cve-2021-4034_mipsel-n32
mipsel-n32sfcve-2021-4034_mipsel-n32sf
mipsel-sfcve-2021-4034_mipsel-sf
powerpccve-2021-4034_powerpc
powerpc-sfcve-2021-4034_powerpc-sf
powerpc64cve-2021-4034_powerpc64
powerpc64lecve-2021-4034_powerpc64le
powerpclecve-2021-4034_powerpcle
powerpcle-sfcve-2021-4034_powerpcle-sf
riscv32cve-2021-4034_riscv32
riscv64cve-2021-4034_riscv64
s390xcve-2021-4034_s390x
x86_64cve-2021-4034_x86_64
x86_64-x32cve-2021-4034_x86_64-x32