A flaw was found in 389 Directory Server. During SASL PLAIN authentication, a stale identity carried in a Cyrus SASL auxiliary property from a prior failed bind attempt can be installed on a connection following a subsequent, unrelated successful bind, regardless of which SASL mechanism completes that second bind. An attacker can send a SASL PLAIN bind as cn=Directory Manager with an incorrect password, then complete a SASL ANONYMOUS bind on the same connection, causing the server to grant Directory Manager authority without any valid credentials.
A variant using a valid low-privileged account's own successful bind instead of an anonymous one is also possible.
Vulnerable Products
red hat:red hat directory server 11.7 e4s for rhel 8
red hat:red hat enterprise linux 8.6 extended update support long-life add-on
red hat:red hat enterprise linux 8.6 advanced mission critical update support
red hat:red hat directory server 12.4 e4s for rhel 9
red hat:red hat enterprise linux 9.6 extended update support
red hat:red hat directory server 12
red hat:red hat enterprise linux 9.2 update services for sap solutions
red hat:red hat directory server 12.2 e4s for rhel 9
red hat:red hat enterprise linux 8.4 extended update support long-life add-on
red hat:red hat enterprise linux 9
red hat:red hat enterprise linux 10.0 extended update support
red hat:red hat directory server 11.5 e4s for rhel 8
red hat:red hat enterprise linux 7 extended lifecycle support
red hat:red hat enterprise linux 8.8 update services for sap solutions
red hat:red hat enterprise linux 8
red hat:red hat enterprise linux 8.4 advanced mission critical update support
red hat:red hat directory server 13
red hat:red hat enterprise linux 9.4 update services for sap solutions
red hat:red hat directory server 11.9 for rhel 8
red hat:red hat enterprise linux 8.8 telecommunications update service
red hat:red hat enterprise linux 6 extended lifecycle support - extension
red hat:red hat enterprise linux 10