OpenIdentityPlatform OpenDJ
OpenDJ: Authorization bypass in SASL PLAIN allowing a `proxied-auth` holder to impersonate any resolvable non-root user without an ACI proxy grant
OpenDJ is an LDAPv3 compliant directory service. Prior to 5.1.2, the SASL PLAIN authorization identity path in opendj-server-legacy/src/main/java/org/opends/server/extensions/PlainSASLMechanismHandler.java checked the PROXIED_AUTH privilege but did not evaluate the mayProxy proxy ACI scope when an authzid resolved to a different user. Both dn: and u: or bare authzid forms could therefore let an authenticated account holding PROXIED_AUTH assume any resolvable non-root identity outside the identities permitted by its proxy ACI. The fix returns INVALID_CREDENTIALS (49) before password verification when the target authorization identity is not permitted. This issue is fixed in version 5.1.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.1.2
Fixed in 5.1.2
Mitigation
Upgrade OpenDJ to 5.1.2 or later.
References
- Vendor advisory github.com/OpenIdentityPlatform/OpenDJ/securit…
- Patch github.com/OpenIdentityPlatform/OpenDJ/commit/…
- Release notes github.com/OpenIdentityPlatform/OpenDJ/release…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.