Описание
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.
Отчет
Important: This flaw allows an LDAP user holding delegated create/rename privileges over some subtree to achieve arbitrary command execution with root privileges on the host. The Cockpit 389 Console's LDAP editor embeds a raw LDAP entry DN into a double-quoted shell command string executed via Cockpit's privileged (superuser) channel. LDAP DN syntax does not require escaping of shell metacharacters such as $, (, and ), so a DN crafted with command substitution executes on the host when a more-privileged Cockpit operator subsequently views that entry. This compromises confidentiality, integrity, and availability of the host. Exploitation requires both a delegated LDAP write privilege and a privileged operator viewing the crafted entry; neither precondition alone is sufficient. This issue only affects Red Hat Directory Server deployments that include the Cockpit 389 Console; plain Red Hat Enterprise Linux does not ship this subpackage and is not affected.
Меры по смягчению последствий
Restrict Cockpit 389 Console access to trusted administrators, and restrict delegated LDAP add/rename privileges to trusted accounts, until a fix is available. This issue only affects Red Hat Directory Server deployments that include the Cockpit console; plain RHEL 389-ds-base is not affected.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Directory Server 11 | 389-ds-base | Affected | ||
| Red Hat Directory Server 12 | 389-ds-base | Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base | Affected | ||
| Red Hat Enterprise Linux 6 | 389-ds-base | Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 8 | 389-ds:1.4/389-ds-base | Affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base | Affected | ||
| Red Hat Directory Server 11.7 E4S for RHEL 8 | redhat-ds | Fixed | RHSA-2026:64792 | 08.09.2026 |
| Red Hat Directory Server 11.9 for RHEL 8 | redhat-ds | Fixed | RHSA-2026:64793 | 08.09.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
8.4 High
CVSS3
Связанные уязвимости
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.
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.
A flaw was found in 389-ds-base. The Cockpit 389 Console's LDAP editor ...
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.
EPSS
8.4 High
CVSS3