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
Tools/GitHubGitHub/aus-mate/cve-2021-4034-poc
Privilege EscalationVulnerability AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHubaus-mate/cve-2021-4034-poc

CVE-2021-4034-POC

Proof-of-concept exploit for CVE-2021-4034 (PwnKit), a local privilege escalation vulnerability in polkit's pkexec. Compiles and runs a C payload to gain root access.

View Repository
4 years agoNot yet reviewed

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-POC

POC for pwnkit vulnerability discovered by Qualys.

Compile & execute:

root@kitploit:~
gcc lpe.c -o lpe; ./lpe

Creates the following directory/file structure:

root@kitploit:~
/tmp
├── GCONV_PATH=.
│   └── test
├── payload.c
├── payload.so
├── test
│   └── gconv-modules

References

  • https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
  • https://hugeh0ge.github.io/2019/11/04/Getting-Arbitrary-Code-Execution-from-fopen-s-2nd-Argument/
  • https://www.openwall.com/lists/oss-security/2017/06/23/8
  • https://www.openwall.com/lists/oss-security/2014/07/14/1
Download Tool