# CVE-2021-4034
Obviously not original. Reworked it to understand what's going on. Credits to https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt for finding the vuln!
Other PoCs that helped me understand the sploitz:
- https://github.com/berdav/CVE-2021-4034
- https://github.com/ryaagard/CVE-2021-4034
## Building
```
make
```
## sploitz
```
❯ ./main
LOADED!
# whoami
root
# id
uid=0(root) gid=0(root) groups=0(root)
```
[4.0K] /data/pocs/f6cff88a6e02eeade685159489c0ff7ca5d369ba
├── [ 32] gconv-modules
├── [3.7K] main.c
├── [ 181] Makefile
├── [ 316] payload.c
└── [ 439] README.md
0 directories, 5 files