Skip to main content
VulnerabilityPublished 07/24/2026

Org.openidentityplatform.opendj:opendj server legacy: OpenDJ SASL PLAIN authzid bypassing the proxy ACI scope check

Affects org.openidentityplatform.opendj:opendj-server-legacySource GCVE Database

0
CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.1.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

What to do

Affected software

ProductAffectedFixed in
Mavenorg.openidentityplatform.opendj:opendj-server-legacyAffected
  • <5.1.2
Fixed in
  • 5.1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in OpenDJ server legacy version 5.1.2 that enforces the mayProxy scope check on the SASL PLAIN authzid path, aligning it with other proxy authorization mechanisms. Until upgrading, it is recommended to restrict or revoke the proxied-auth privilege to prevent exploitation. No other mitigations are specified.

Description

A vulnerability in OpenDJ server legacy versions prior to 5.1.2 allows an attacker with the proxied-auth privilege to bypass proxy access control checks when using SASL PLAIN authentication with an authorization identity (authzid). This flaw permits privilege escalation by impersonating arbitrary non-root directory users beyond the intended proxy ACI restrictions. The issue arises because the SASL PLAIN authzid path does not enforce the mayProxy scope check, unlike other proxy paths. The vulnerability is critical and can be mitigated by upgrading to version 5.1.2 or later or restricting the proxied-auth privilege until patched.

Impact

An attacker holding the proxied-auth privilege can escalate privileges by impersonating arbitrary directory users beyond the scope intended by proxy ACIs, effectively bypassing authorization controls. This compromises confidentiality and integrity of directory data for affected users. The root or Directory Manager accounts cannot be assumed via this method. The vulnerability does not impact availability.

Summary

OpenDJ server legacy versions before 5.1.2 contain a vulnerability in the SASL PLAIN bind mechanism where supplying an authorization identity (authzid) that resolves to a different user bypasses the proxy access control instruction (ACI) scope check. Specifically, the PlainSASLMechanismHandler verifies only the PROXIED_AUTH privilege but does not evaluate the 'proxy' access-control right (mayProxy ACI scope). Consequently, any account with the proxied-auth privilege can impersonate any resolvable non-root identity without the required proxy ACI grant. This behavior deviates from other proxy paths like DIGEST-MD5 and GSSAPI, which require both privilege and mayProxy scope. The vulnerability enables privilege escalation and authorization bypass, allowing unauthorized impersonation of directory users. The fix involves enforcing the mayProxy scope check on the SASL PLAIN authzid path and returning INVALID_CREDENTIALS before password verification to prevent information leakage. Until patched, restricting or revoking the proxied-auth privilege is recommended.

Weaknesses

References

Community reviews

Loading reviews…

Get alerts for org.openidentityplatform.opendj:opendj-server-legacy by Slack, email or webhook with Pro Console, or bring in OffSeq incident response (opens in a new tab).

Threat ID
6a6542219c2644c7f80884e3
Added
07/25/2026, 23:09:21 UTC
Analysed
07/25/2026, 23:52:44 UTC
Updated
10/03/2026, 00:36:38 UTC
Views
93