Samba · Samba · CVE-2018-1057
**Name of the Vulnerable Software and Affected Versions**
Samba versions 4.0.0 and later
**Description**
The issue is related to the LDAP server in Samba, specifically when configured as an Active Directory domain controller. It incorrectly validates permissions to modify passwords over LDAP, allowing authenticated users to change any other users' passwords, including those of administrative users and privileged service accounts, such as Domain Controllers. This is due to deficiencies in the authorization mechanism.
**Recommendations**
For Samba versions 4.0.0 and later, consider restricting access to the LDAP server to minimize the risk of exploitation until a patch is available. As a temporary workaround, limit the ability of authenticated users to change passwords of other users. At the moment, there is no information about a newer version that contains a fix for this vulnerability.