A flaw was found in 389-ds-base. The Cockpit 389 Console's LDAP editor constructs an ldapsearch command by embedding an LDAP entry's distinguished name (DN) into a shell command string without proper escaping. An LDAP user with delegated privileges to create or rename directory entries could craft a malicious DN containing shell metacharacters.
When a Cockpit administrator subsequently views the entry in the 389 Console, the embedded shell command executes with root privileges on the directory server host.
Vulnerable Products
red hat:red hat directory server 11.9 for rhel 8
red hat:red hat enterprise linux 6
red hat:red hat enterprise linux 7
red hat:red hat enterprise linux 9
red hat:red hat directory server 11.7 e4s for rhel 8
red hat:red hat directory server 11.5 e4s for rhel 8
red hat:red hat directory server 12.6 eus for rhel 9
red hat:red hat directory server 12.4 e4s for rhel 9
red hat:red hat directory server 12
red hat:red hat enterprise linux 8
red hat:red hat directory server 13.2 for rhel 10
red hat:red hat directory server 13.0 eus for rhel 10
red hat:red hat directory server 11
red hat:red hat enterprise linux 10
red hat:red hat directory server 12.2 e4s for rhel 9
red hat:red hat directory server 12.8 for rhel 9