LDAP anonymous access enabled at certrep.pki.state.gov:389
An LDAP service on a public government subdomain allowed anonymous binds, so unauthenticated users could query directory information. The report shows only that anonymous access was enabled and does not demonstrate what data was exposed.
- Triaged in 15 hours
- Fixed in 2 months
- Disclosed after 3 months
Summary:
Hi us-department-of-state Security Team.
I have found that this subdomain certrep.pki.state.gov Is vulnerable LDAP Anonymous access enabled as you can see in the following screenshots:-
██████████
███████
████████
Steps To Reproduce:
- Run nmap -n -Pn --script "ldap* and not brute" certrep.pki.state.gov
- You can use ldapadmin tool as showing above at screenshots.
Supporting Material/References:
- https://book.hacktricks.xyz/network-services-pentesting/pentesting-ldap
- https://hackerone.com/reports/205908
Please let me know if need more info. Best Regards. @doosec101
Impact
Improper access to LDAP with anonymous login.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the LDAP server was configured to permit anonymous binds, and the service was reachable from the internet.
What the attacker needed
Network access to the LDAP port; no credentials needed
How it was found
- Run an nmap scan with LDAP scripts against the host.
- Use an LDAP administration tool to connect and confirm anonymous access.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
LDAP is a directory service, like a phone book for users and computers. Normally you must log in before you can search it, but here the server accepted connections without any username or password. That means anyone on the internet could try to read directory entries, though the report does not show which entries were actually readable.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.