Description
go-ldap-admin through 0.6.2 embeds a hard-coded RSA private key, published in the public repository, that protects encrypted login passwords. Unauthenticated attackers who capture encrypted passwords can decrypt them offline or via the /base/decryptpwd endpoint, recovering cleartext LDAP credentials for reuse.
Metrics
CVSS 3.1 5.9/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| opsre | go-ldap-admin | <= 0.6.2 |
References
- https://github.com/opsre/go-ldap-admin
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/config/config.go#L20-L24
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/config/config.go#L76-L77
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/logic/base_logic.go#L188-L199
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/routes/base_routes.go#L50
- https://hackmd.io/@hieuPenguinnn/go-ldap-admin-hardcoded-rsa-key-decrypt-oracle-and-unauth-password-reset
- https://www.vulncheck.com/advisories/go-ldap-admin-through-0.6.2-hard-coded-rsa-private-key-via-base-decryptpwd
- https://hackmd.io/@hieuPenguinnn/go-ldap-admin-hardcoded-rsa-key-decrypt-oracle-and-unauth-password-reset
Timeline
- Published
- Oct 15, 2026
- Last modified
- Oct 16, 2026
- NVD status
- Deferred