关联漏洞
标题:
polkit 代码问题漏洞
(CVE-2021-3560)
描述:polkit是一个在类 Unix操作系统中控制系统范围权限的组件。通过定义和审核权限规则,实现不同优先级进程间的通讯。 polkit 存在代码问题漏洞,该漏洞源于当请求进程在调用polkit_system_bus_name_get_creds_sync之前断开与dbus-daemon的连接时,该进程无法获得进程的唯一uid和pid,也无法验证请求进程的特权。
描述
CVE-2021-3560 Local PrivEsc Exploit
介绍
# polkadots
## CVE-2021-3560 Local PrivEsc Exploit
##### This exploit creates a new privileged user with which you can escalate to root.
\
Affected Distributions:
* RHEL 8
* Fedora 21
* Debian testing (Bullseye)
* Ubuntu 20.04
### Usage
./polkadots -a [Account] -n [Account name] -h [Password hash] -i [iterations]
Generate hashed passwords with: openssl passwd -6 password@123
Defaults:
-a boris
-n Boris Ivanovich Grishenko
-h $6$cGKhfu9znRnOQV1h$2j/3WKyqTcCaftP1PGhW8Pghj2qV5j8zwy1gHrt9eILUE6WKeWVCTa9QgkskIfwVXpjVI.TuX2D.rEkbwKubi/
-i 20
#### Discovered By: Kevin Backhouse
#### Source: https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/
文件快照
[4.0K] /data/pocs/37f7140d6e8fd1c4f1d5bdd9a0b12cdc743e9e53
├── [1.0K] LICENSE
├── [3.4K] polkadots
└── [ 728] README.md
0 directories, 3 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。