Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-4408

Опубликовано: 26 мая 2026
Источник: redhat
CVSS3: 9

Описание

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 6sambaOut of support scope
Red Hat Enterprise Linux 6samba4Out of support scope
Red Hat Enterprise Linux 10sambaFixedRHSA-2026:2296303.06.2026
Red Hat Enterprise Linux 10.0 Extended Update SupportsambaFixedRHSA-2026:2805523.06.2026
Red Hat Enterprise Linux 7 Extended Lifecycle SupportsambaFixedRHSA-2026:2813223.06.2026
Red Hat Enterprise Linux 7 Extended Lifecycle SupportsambaFixedRHSA-2026:2813223.06.2026
Red Hat Enterprise Linux 8sambaFixedRHSA-2026:2264403.06.2026
Red Hat Enterprise Linux 8sambaFixedRHSA-2026:2264403.06.2026
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportsambaFixedRHSA-2026:2805823.06.2026
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnsambaFixedRHSA-2026:2805823.06.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-78
https://bugzilla.redhat.com/show_bug.cgi?id=2479762samba: Remote Code Execution in SAMR

9 Critical

CVSS3

Связанные уязвимости

CVSS3: 9
ubuntu
2 месяца назад

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.

CVSS3: 9
nvd
2 месяца назад

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.

CVSS3: 9
debian
2 месяца назад

A flaw was found in Samba. A remote attacker can exploit a misconfigur ...

CVSS3: 9
github
2 месяца назад

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.

CVSS3: 10
fstec
2 месяца назад

Уязвимость функции check password script модуля DCE/RPC SAMR server пакета программ сетевого взаимодействия Samba, позволяющая нарушителю выполнить произвольный код

9 Critical

CVSS3