CyberRota Analysis
AI-GeneratedA vulnerability exists in the Cockpit 389 Console's LDAP editor, where it improperly constructs shell commands by embedding unescaped distinguished names (DNs) from LDAP entries. This flaw allows an LDAP user with delegated privileges to create or rename entries to inject malicious shell metacharacters, leading to arbitrary command execution with root privileges on the directory server host. Organizations using 389-ds-base should prioritize addressing this issue to mitigate the risk of unauthorized access and potential system compromise.
Original NVD Description
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.