CVE Database›Document archive›CVE-2018-16857

CVE-2018-16857

samba: Bad password count in AD DC not always effective

Loading…

Severity

Moderate

Red Hat Product Security

7.4

CVSS 3.0

Review impact separately from score.

Published · November 20, 2018

Updated · November 22, 2025

Description

It was found that the 'bad password observation window' was ineffective when set to a value greater than 3 minutes. This could allow for brute force password attacks in some situations.

Statement

This flaw does not affect the version of samba shipped with Red Hat Enterprise Linux because there is no support for samba as Active Directory Domain Controller.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Bad password lockout is not configured by default, it is only effective if a threshold has been set with (eg):

samba-tool domain passwordsettings set --account-lockout-threshold=3

To mitigate the issue set a shorter 'Reset account lockout after' window (the ineffective default is 30, anything less than 15 will work):

samba-tool domain passwordsettings set --reset-account-lockout-after=15

NOTE: If a fine-grained password policy (PSO) is set, this must also be done on each PSO.

CVSS / CWE

CVSS 3.0 · 7.4
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

CWE-358 · Improperly Implemented Security Check for Standard