
Exploit heap overflow per CVE-2021-22555 che raggiunge l'escalation di privilegi locale a root su Ubuntu 20.04 con kernel 5.8.0-48.
Heap OVerflow CVE (CVE-2021-22555)
Elenco dei Bug
Heap Out-of-Bounds Write (Il Bug principale)
Data Corruption (L'Effetto Immediato)
Memory Leak / Information Disclosure
Privilege Escalation (L'Obiettivo Finale)
Scaricare l'iso
wget http://old-releases.ubuntu.com/releases/20.04.2/ubuntu-20.04.2-live-server-amd64.iso
scaricare le librerie richieste
sudo apt update sudo apt install build-essential gcc-multilib
scaricare il kernel richiesto
sudo apt install linux-image-5.8.0-48-generic linux-headers-5.8.0-48-generic
sudo reboot
gcc exploit.c -o exploit ./exploit
ottenuto root