CyberRota Analysis
AI-GeneratedOpenBao versions prior to 2.5.5 are vulnerable to LDAP injection attacks due to improper escaping of user input in the GetUserDN function, allowing attackers to manipulate search predicates and potentially gain unauthorized access to sensitive secrets and policies. Organizations utilizing OpenBao for identity management, especially those integrating with Active Directory, should prioritize upgrading to version 2.5.5 to mitigate this risk. The vulnerability poses a medium severity threat, making it essential for security teams to assess their exposure and implement the necessary updates.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
OpenBao is an open source identity-based secrets management system. Prior to 2.5.5, OpenBao used EscapeLDAPValue, an RFC 4514 distinguished-name escaping function, where RFC 4515 LDAP search-filter escaping was required in sdk/helper/ldaputil/client.go GetUserDN. With the LDAP authentication backend configured for an Active Directory UPNDomain path or UserDN and UserAttr binding, an attacker-controlled username containing filter metacharacters could alter the search predicate and select a different directory entry because EscapeLDAPValue does not neutralize the characters handled by ldap.EscapeFilter. A resulting token could be associated with another LDAP identity and gain access to secrets, policies, or modification capabilities assigned to that identity. This issue is fixed in version 2.5.5.