
C-based local privilege escalation exploit for CVE-2021-3493, targeting OverlayFS in Linux kernels prior to 5.11. Provides compilation and usage instructions for authorized security testing.
A proof-of-concept local privilege escalation exploit for CVE-2021-3493, written in C.
This repository contains a C implementation of the exploit for CVE-2021-3493.
This is a Local Privilege Escalation (LPE) vulnerability in the OverlayFS implementation in the Linux kernel. It allows a local user to gain root access due to incorrect validation of extended attributes (xattrs) when files are set in an overlay mount.
[!WARNING] This tool is for educational purposes only and for use in authorized security testing. The author, Redwan Ahmed, is not responsible for any misuse or damage caused by this program. Don't be a script kiddie; understand the code before you run it! 👽
Ensure you have gcc installed on the target machine.
gcc exploit.c -o exploit