mutur4 / CVE-2022-0847

Drity Pipe Linux Kernel 1-Day Exploit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DIRTY PIPE CVE-2022-0847

This is a kernel vulnerability that allows overwriting of data in arbitrary read-only files, which can therefore lead to privilege escalation since an unprivileged process can write into a privileged process. All credits go to 🥇Max Kellermann for finding the vulnerability and his good explanation/description of the vulnerability.

profile

👻 IMPORTANT NOTICE

This proof of concept code is based on Max Kellermann's poc, that has been modified to explore some different ways on how this vulnerability can be used to gain higher privileges. The exploit code includes a check to check if the kernel version is vulnerable and using the vulnerability to overwrite /etc/passwd file to gain root privileges. exploit.c

Usage

You can download the already compiled binary or using make compile the binary locally and run it to gain root.

About

Drity Pipe Linux Kernel 1-Day Exploit


Languages

Language:C 96.7%Language:Makefile 3.3%