Vulnerability
CVE-2022-0847
Vulnerability details
- Score
- 7.8
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system.
CVE ProgramExploit source choices
105 sourcesThis exploit targets a vulnerability in the Linux kernel since 5.8, that allows writing of read only or immutable memory. The vulnerability was fixed in Linux 5.16.11, 5.15.25 and 5.10.102. The module exploits this vulnerability by overwriting a suid binary with the payload, executing it, and then writing the original data back. There are two major limitations of this exploit: the offset cannot be on a page boundary (it needs to write one byte before the offset to add a reference to this page to the pipe), and the write cannot cross a page boundary. This means the payload must be less than the page size (4096 bytes).
OSCP Cheat Sheet
Linux kernel CVE exploit analysis report and relative debug environment. You don't need to compile Linux kernel and configure your environment anymore.
A root exploit for CVE-2022-0847 (Dirty Pipe)
Anything about kernel security. CTF kernel pwn, kernel exploit, kernel fuzz and kernel defense paper, kernel debugging technique, kernel CVE debug.
A collection of exploits and documentation that can be used to exploit the Linux Dirty Pipe vulnerability.
Linux Eelvation(持续更新)
CVE-2022-0847-DirtyPipe-Exploit CVE-2022-0847 是存在于 Linux内核 5.8 及之后版本中的本地提权漏洞。攻击者通过利用此漏洞,可覆盖重写任意可读文件中的数据,从而可将普通权限的用户提升到特权 root。 CVE-2022-0847 的漏洞原理类似于 CVE-2016-5195 脏牛漏洞(Dirty Cow),但它更容易被利用。漏洞作者将此漏洞命名为“Dirty Pipe”
Hacking自动化就是好玩的星球相关
A penetration toolkit for container environment
bepb/tryhackme source repository
Semi-automated security hardening for Linux / Debian / Ubuntu , 2025, attempts DISA STIG and CIS Compliance
CVE-2022-0847
各种脚本、漏洞利用工具
Bash script to check for CVE-2022-0847 "Dirty Pipe"
Linux Kernel Local Privilege Escalation Vulnerability CVE-2022-0847.
CVE-2022-0847
CVE-2022-0847 DirtyPipe Exploit.
The Dirty Pipe Vulnerability
CVE-2022-0185 POC and Docker and Analysis write up
CVE-2022-0847 used to achieve container escape 利用CVE-2022-0847 (Dirty Pipe) 实现容器逃逸
An eBPF detection program for CVE-2022-0847
CVE-2022-0847 POC and Docker and Analysis write up
CVE-2022-0847: Linux Kernel Privilege Escalation Vulnerability
⚙ DevSecOps Kubernetes Playground ("A Hacker's Guide to Kubernetes")
This notes will now available through
CVE-2022-0847 POC
Implementation of Max Kellermann's exploit for CVE-2022-0847
Static analysis for custom comfyui nodes
A Python-based DirtyPipe (CVE-2022-0847) POC to pop a root shell
Hacked up Dirty Pipe (CVE-2022-0847) PoC that hijacks a SUID binary to spawn a root shell. (and attempts to restore the damaged binary as well)
cvedb/awesome-cve-repo source repository
Scripted Linux Privilege Escalation for the CVE-2022-0847 "Dirty Pipe" vulnerability
Vulnerability in the Linux kernel since 5.8
An eBPF program to detect attacks on CVE-2022-0847
aruncs31s/ethical-h4ckers.github.io source repository
DirtyPipe: Exploit for a new Linux vulnerability known as 'Dirty Pipe(CVE-2022-0847)' allows local users to gain root privileges. The vulnerability is tracked as CVE-2022-0847 and allows a non-privileged user to inject and overwrite data in read-only files, including SUID processes that run as root.
CVE-2022-0847
修改版CVE-2022-0847
my personal exploit of CVE-2022-0847(dirty pipe)
mustafa1986/cve-2022-0847-dirtypipe-exploit source repository
CVE-2022-0847 used to achieve container escape 利用CVE-2022-0847 (Dirty Pipe) 实现容器逃逸
brinmon/kernelstu source repository
pwncat module that automatically exploits CVE-2022-0847 (dirtypipe)
CVE-2022-0847 Python exploit to get root or write a no write permission, immutable or read-only mounted file.
Simple Exploit for Dirty Pipe Vulnerability (CVE-2022-0847) This repository contains a simple proof of concept (PoC) for the Dirty Pipe vulnerability (CVE-2022-0847), which affects Linux kernel versions 5.8 to 5.16. This exploit demonstrates local privilege escalation by leveraging improper handling of pipe buffers in the kernel.
Modified dirtypipe script into auto root without have to search a file manually to hijack suid binary.
Dirty Pipe POC
PoC Container Breakout for DirtyPipe Vulnerability CVE-2022-0847
Python script to check if your kernel is vulnerable to Dirty pipe CVE-2022-0847
CVE-2022-0847 (Dirty Pipe) is an arbitrary file overwrite vulnerability that allows escalation of privileges by modifying or overwriting arbitrary read-only files e.g. /etc/passwd, /etc/shadow.
Implementation of CVE-2022-0847 as a shellcode
POC Exploit to add user to Sudo for CVE-2022-0847 Dirty Pipe Vulnerability
An exploit for CVE-2022-0847 dirty-pipe vulnerability
cvedb/top source repository
dirtypipe
A “Dirty Pipe” vulnerability with CVE-2022-0847 and a CVSS score of 7.8 has been identified, affecting Linux Kernel 5.8 and higher. The vulnerability allows attackers to overwrite data in read-only files. Threat actors can exploit this vulnerability to privilege themselves with code injection.
CVE-2022-0847(Dirty Pipe) vulnerability exploits.
A Simple bash script that patches the CVE-2022-0847 (dirty pipe) kernel vulnerability on Debian 11
A simple exploit that uses dirtypipe to inject shellcode into runC entrypoint to implement container escapes.
Proof of concept for CVE-2022-0847
Dirty Pipe Vulnerability Detection Script - RHSB-2022-002 Dirty Pipe - kernel arbitrary file manipulation - (CVE-2022-0847)
Drity Pipe Linux Kernel 1-Day Exploit
puckiestyle/cve-2022-0847 source repository
exp of CVE-2022-0847
Dirty Pipe - CVE-2022-0847
This repository is developed to analysis and understand DirtyPipe exploit CVE-2022-0847
CVE-2022-0847(Linux 内核本地提权漏洞)
a-roshbaik/linux-privilege-escalation-exploits source repository
Comingsoon_HackMyVM_Easy
Confusion_HackMyVM_Medium
DarkMatter_HackMyVM_Hard
Immortal_HackMyVM_Medium
Juggling_HackMyVM_Hard
Kitty_HackMyVM_Hard
Messages_HackMyVM_Medium
Compled version of CVE-2022-0847 aka Dirty Pipe. Just one shot to root them all :D
Exploit for dirtypipe vulnerability (local privilege escalation)
itmarcin2211/cve-2022-0847-dirtypipe-exploit source repository
Using CVE-2022-0847, "Dirty Pipe Exploit", to pop a reverse bash shell for arbitrary code execution on a foreign machine.
lucksec/cve-2022-0847 source repository
Resources required for building Pluralsight CVE-2022-0847 lab
CVE-2022-0847
Docker exploit
muhammad1596/cve-2022-0847-dirty-pipe-checker source repository
Dirty Pipe (CVE-2022-0847) zafiyeti kontrolü
Exploit for Dirty-Pipe (CVE-2022-0847)
A privilege escalation tools based on Top 10 TryHackMe.
abdofarid1/r00tkeep3r source repository
ajith737/dirty-pipe-cve-2022-0847-pocs source repository
anastasialomova/pr1 source repository
anastasialomova/pr1.1 source repository
Web application that is a planner with some added extras
Working Dirty Pipe (CVE-2022-0847) exploit tool with root access and file overwrites.
A python implementation of the Dirty Pipe exploit that adds an unprivliged user to the sudoers group.
ayoubnajim/cve-2022-0847dirtypipe-exploit source repository
Bash script to check if kernel is vulnerable
ayushx007/cve-2022-0847-dirtypipe-exploits source repository
A root exploit for CVE-2022-0847 (Dirty Pipe)
bohr777/cve-2022-0847dirtypipe-exploit source repository
Demo for MOE Event
ch1ll9uy/ttcs source repository
charondefalt/linux-exploit source repository