<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>OpenDJ - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/opendj/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 24 Jul 2026 21:47:40 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/opendj/feed.xml" rel="self" type="application/rss+xml"/><item><title>OpenDJ SASL PLAIN Authorization Bypass via Authzid</title><link>https://feed.craftedsignal.io/briefs/2026-07-opendj-sasl-plain-authzid-bypass/</link><pubDate>Fri, 24 Jul 2026 21:47:40 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-opendj-sasl-plain-authzid-bypass/</guid><description>An authorization bypass vulnerability exists in OpenDJ's SASL PLAIN authentication mechanism, allowing any account with the `proxied-auth` privilege to assume arbitrary non-root directory user identities by bypassing the `mayProxy` ACI scope check when supplying an `authzid`, leading to privilege escalation beyond intended scope.</description><content:encoded><![CDATA[<p>OpenIdentityPlatform's OpenDJ, specifically versions up to and including 5.1.1, contains a critical authorization bypass vulnerability (GHSA-p279-2cqp-84jg) in its SASL PLAIN authentication mechanism. This flaw, publicly disclosed on 2026-07-24, allows attackers to bypass access control restrictions and achieve privilege escalation. The vulnerability arises when an account with the <code>proxied-auth</code> privilege attempts a SASL PLAIN bind and supplies an <code>authzid</code> (authorization identity) referencing a <em>different</em> user. The <code>PlainSASLMechanismHandler</code> incorrectly only verifies the <code>PROXIED_AUTH</code> privilege, failing to evaluate the <code>mayProxy</code> ACI scope check. This omission allows an attacker to impersonate <em>any</em> resolvable non-root identity within the directory, regardless of whether explicit proxy ACI grants exist. This behavior deviates from other proxy paths in OpenDJ, which correctly enforce both privilege and ACI grants. The successful exploitation of this vulnerability leads to unauthorized access and potential compromise of sensitive directory data by defeating the intended granular authorization controls.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains legitimate credentials for an OpenDJ account that holds the <code>proxied-auth</code> privilege (e.g., through initial access or misconfiguration).</li>
<li>The attacker initiates a SASL PLAIN bind request to the vulnerable OpenDJ server.</li>
<li>Within the SASL PLAIN bind, the attacker specifies an <code>authzid</code> (authorization identity) parameter, referencing a <em>different</em>, target non-root user (e.g., <code>authzid=u:target_privileged_user</code>).</li>
<li>The OpenDJ server's <code>PlainSASLMechanismHandler</code> verifies that the authenticating account possesses the <code>PROXIED_AUTH</code> privilege.</li>
<li>Crucially, the handler <em>fails</em> to perform the <code>mayProxy</code> ACI (Access Control Instruction) scope check, which is intended to restrict <em>which</em> specific identities can be proxied by the authenticating account.</li>
<li>Despite the missing ACI scope check, the authentication succeeds, allowing the attacker to assume the identity and privileges of the <code>target_privileged_user</code>.</li>
<li>The attacker, now impersonating the target user, performs actions within the directory using the target user's elevated permissions, bypassing the intended ACI-based authorization restrictions.</li>
<li>The final objective is privilege escalation and unauthorized access to directory services and data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability results in privilege escalation and authorization bypass. An attacker holding the <code>proxied-auth</code> privilege can act as arbitrary non-root directory users, effectively bypassing the granular access control instructions (ACIs) that would normally limit impersonation capabilities. This completely defeats the intended ACI-based restrictions on which identities may be impersonated, leading to unauthorized access to sensitive directory information or modification of configurations. While the vulnerability does not allow impersonation of the root or Directory Manager accounts, it significantly expands an attacker's reach within the directory environment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade OpenDJ instances to a patched version beyond 5.1.1 to address GHSA-p279-2cqp-84jg immediately.</li>
<li>As a temporary workaround, restrict or revoke the <code>proxied-auth</code> privilege for any accounts that do not strictly require it, until the affected OpenDJ product can be upgraded.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>privilege-escalation</category><category>authorization-bypass</category><category>ldap</category></item></channel></rss>