{"id":"CVE-2026-73644","aliases":["CVE-2026-73644","GHSA-p279-2cqp-84jg"],"related":[],"kind":"vulnerability","state":"published","title":"OpenDJ: Authorization bypass in SASL PLAIN allowing a `proxied-auth` holder to impersonate any resolvable non-root user without an ACI proxy grant","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nWhen a SASL PLAIN bind supplies an authorization identity (authzid) that resolves to a **different** user, PlainSASLMechanismHandler verified only the PROXIED_AUTH privilege and never evaluated the \"proxy\" access-control right (the mayProxy ACI scope check). As a result, any account holding the proxied-auth privilege could assume **any resolvable non-root identity** without being granted a proxy ACI for that target.\n\nThis diverges from every other proxy path in OpenDJ — the proxied-authorization controls (RFC 4370) and the DIGEST-MD5 / GSSAPI authzid handlers all require **both** the privilege **and** the mayProxy scope grant.\n\n### Impact\nPrivilege escalation / authorization bypass: a holder of proxied-auth can act as arbitrary directory users beyond the scope intended by the deployment's proxy ACIs, defeating the ACI-based restriction on *which* identities may be impersonated. Root/Directory Manager is not assumable this way.\n\n### Fix\nEnforce the mayProxy scope check on the SASL PLAIN authzid path (both dn: and u:/bare forms), sharing one hasProxyAccess helper with the DIGEST-MD5/GSSAPI path. Denial returns INVALID_CREDENTIALS (49) **before** password verification — matching DIGEST-MD5/GSSAPI — so an unauthenticated client cannot distinguish a missing privilege from a missing ACI grant.\n\n### Workaround\nRestrict or revoke the proxied-auth privilege until upgraded.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenDJ es un servicio de directorio compatible con LDAPv3. Antes de la versión 5.1.2, la ruta de identidad de autorización SASL PLAIN en opendj-server-legacy/src/main/java/org/opends/server/extensions/PlainSASLMechanismHandler.java verificaba el privilegio PROXIED_AUTH pero no evaluaba el alcance ACI de proxy mayProxy cuando un authzid se resolvía a un usuario diferente. Tanto las formas dn: y u: como las formas de authzid sin prefijo podían, por lo tanto, permitir que una cuenta autenticada que poseía PROXIED_AUTH asumiera cualquier identidad no-root resoluble fuera de las identidades permitidas por su ACI de proxy. La corrección devuelve INVALID_CREDENTIALS (49) antes de la verificación de la contraseña cuando la identidad de autorización de destino no está permitida. Este problema está corregido en la versión 5.1.2.","source":"nvd"}],"published":"2026-07-24T21:46:39.000Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-285","CWE-639"],"affected":[{"ranges":[{"version":"< 5.1.2","status":"affected"}],"vendor":"OpenIdentityPlatform","product":"OpenDJ","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.1.2"}],"ecosystem":"Maven","package":"org.openidentityplatform.opendj:opendj-server-legacy","purl":"pkg:maven/org.openidentityplatform.opendj/opendj-server-legacy","source":"ghsa"}],"references":[{"url":"https://github.com/OpenIdentityPlatform/OpenDJ/security/advisories/GHSA-p279-2cqp-84jg","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenIdentityPlatform/OpenDJ/commit/5c326850f1ab945cfca7ac9c5aaf77d1052c6bed","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenIdentityPlatform/OpenDJ/releases/tag/5.1.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenIdentityPlatform/OpenDJ","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-18T01:29:18.144Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-73644","url":"https://www.cve.org/CVERecord?id=CVE-2026-73644","licence":"CVE Terms of Use","modified":"2026-08-18T01:30:06.653Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p279-2cqp-84jg","url":"https://github.com/advisories/GHSA-p279-2cqp-84jg","licence":"CC-BY-4.0","modified":"2026-08-13T18:10:56.305Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-73644","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73644","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:32.819Z","epss":{"score":0.00294,"percentile":0.2373,"date":"2026-12-01T12:00:22.000Z"}}