Описание
A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.
Отчет
An Important remote code execution flaw exists in Samba file servers and classic domain controllers when configured with a 'check password script' that uses the unescaped '%u' substitution character. This vulnerability arises from a non-default configuration where the samba-dcerpcd service is started as a system service, allowing an attacker to execute arbitrary commands by injecting shell meta-characters into the username. Active Directory Domain Controllers are not affected.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | samba | Out of support scope | ||
| Red Hat Enterprise Linux 6 | samba4 | Out of support scope | ||
| Red Hat Enterprise Linux 10 | samba | Fixed | RHSA-2026:22963 | 03.06.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | samba | Fixed | RHSA-2026:28055 | 23.06.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | samba | Fixed | RHSA-2026:28132 | 23.06.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | samba | Fixed | RHSA-2026:28132 | 23.06.2026 |
| Red Hat Enterprise Linux 8 | samba | Fixed | RHSA-2026:22644 | 03.06.2026 |
| Red Hat Enterprise Linux 8 | samba | Fixed | RHSA-2026:22644 | 03.06.2026 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | samba | Fixed | RHSA-2026:28058 | 23.06.2026 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | samba | Fixed | RHSA-2026:28058 | 23.06.2026 |
Показывать по
Дополнительная информация
Статус:
9 Critical
CVSS3
Связанные уязвимости
A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.
A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.
A flaw was found in Samba. A remote attacker can exploit a misconfigur ...
A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.
Уязвимость функции check password script модуля DCE/RPC SAMR server пакета программ сетевого взаимодействия Samba, позволяющая нарушителю выполнить произвольный код
9 Critical
CVSS3