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
DirtyPIPE-CVE-2022-0847 | Kitploit
Tools/GitHubGitHub/githublihaha/dirtypipe-cve-2022-0847
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingBinary Exploitation
GitHubgithublihaha/dirtypipe-cve-2022-0847

DirtyPIPE-CVE-2022-0847

View Repository
14 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-2022-0847 POC

Source: https://www.exploit-db.com/exploits/50808

  1. Compile

    In Linux, compile the POC with gcc -o dirty dirty.c

  2. Usage

    Execute the program with ./dirty SUID, where SUID refers to the path of a program with the SUID bit set.

    Commonly, you can use /usr/bin/passwd, i.e., run ./dirty /usr/bin/passwd

    image-20220315163100154

    You can obtain a root shell.

  3. You can use find / -perm /4000 to query for programs with the SUID bit set.

    image-20220315164326855

    image-20220315164346358

  4. Don't forget to delete /tmp/sh

    image-20220315165450528

Download Tool