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-2022-0847-dirty-pipe-exploit — C exploit for CVE-2022-0847 (Dirty Pipe) kernel vulnerability that overwrites read-only files to escalate privileges and spawn a root shell. | Kitploit
Tools/GitHubGitHub/cspshivam/cve-2022-0847-dirty-pipe-exploit
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingBinary Exploitation
GitHubcspshivam/cve-2022-0847-dirty-pipe-exploit

CVE-2022-0847-dirty-pipe-exploit

C exploit for CVE-2022-0847 (Dirty Pipe) kernel vulnerability that overwrites read-only files to escalate privileges and spawn a root shell.

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
234 years agoNot yet reviewed

CVE-2022-0847-dirty-pipe-exploit

An exploit for CVE-2022-0847 dirty-pipe vulnerability

How to use this

Compile with gcc exploit.c -o exploit (assumes gcc is installed)

Run ./exploit and it'll pop a root shell

If you are getting error message like then, Login as root with password cspshivam

Then, restore /etc/passwd by running mv /tmp/passwd.bak /etc/passwd

Download Tool