Possible LDAP username and password disclosed on Github
A publicly accessible GitHub file contained LDAP domain, base DN, admin username and admin password values. If still valid, an attacker could use them for lateral movement and privilege escalation.
- Triaged in 2 days
- Fixed in 11 days
- Paid in 3 days
- Disclosed after 10 months
Summary
The file hosted at https://github.com/mlanin/go/blob/3dbd856c3f542c54e512a295ac498c79cd952ed6/.env.testing contains the following information: LDAP_DOMAIN=███ LDAP_BASE_DN=███ LDAP_ADMIN_USER=███████ LDAP_ADMIN_PASSWORD=██████
Recommendations
Verify if credentials are still in use if so remove the file from GitHub and reset passwords.
NOTE
Please let me self-close this report if the credentials do not belong to Acronis or are not active. I took a better safe than sorry approach.
Impact
Although I was not able to find any port open on the ███████ server, if the credentials are valid they can be used by insider threats for lateral movement and privilege escalation.
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 a developer committed a testing environment file containing LDAP administrator credentials to a public GitHub repository.
Impact
If the credentials are valid, an attacker could use them for lateral movement and privilege escalation, though the reporter found no open port on the server.
What the attacker needed
Public GitHub repository; credentials still active
The fix
The file should be removed from GitHub and the passwords reset if the credentials are still in use.
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.
A file meant for testing was left in a public code repository, and it held the username and password for a directory service that manages logins. Anyone could read it. If those details still work, someone could log in as an administrator and move around the network.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.