# CVE-2021-4034

This is a PoC for PwnKit __*Local Privilege Escalation Vulnerability*__ 
that was discovered by [Qualys Security Team](

>The Qualys Research Team has discovered a memory corruption vulnerability in polkit’s pkexec, a SUID-root program that is installed by default on every major Linux distribution.

#### Proof Of Concept

*The following image is used to show the payload in action in a debian based operating system*


#### Usage

- Included in this repository are 2 versions of the exploit, one is self-contained and can work against every vulnerable linux machine and the other requires gcc installed on the vulnerable linux computer. The recommended is the self-contained exploit since its fast and does not require any dependencies. I have included both the exploits for learning purposes.