Bug 1649278 (CVE-2018-16857) - CVE-2018-16857 samba: Bad password count in AD DC not always effective
Summary: CVE-2018-16857 samba: Bad password count in AD DC not always effective
Alias: CVE-2018-16857
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1654095
TreeView+ depends on / blocked
Reported: 2018-11-13 10:12 UTC by Andrej Nemec
Modified: 2019-09-29 15:02 UTC (History)
30 users (show)

Fixed In Version: samba 4.9.3
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Last Closed: 2018-11-28 07:40:40 UTC

Attachments (Terms of Use)

Description Andrej Nemec 2018-11-13 10:12:08 UTC
A vulnerability was found in the AD DC Configurations of Samba 4.9.0 and later. Watching for bad passwords (to restrict brute forcing of passwords) in a window of more than 15 minutes instead doesn't watch for bad passwords at all.

Comment 2 Andrej Nemec 2018-11-13 10:14:18 UTC

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

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.

Comment 3 Sam Fowler 2018-11-28 03:04:33 UTC
External Reference:


Comment 4 Sam Fowler 2018-11-28 03:04:56 UTC

Name: the Samba project
Upstream: Isaac Boukris

Comment 5 Sam Fowler 2018-11-28 03:05:25 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 1654095]

Comment 6 Huzaifa S. Sidhpurwala 2018-11-28 07:40:52 UTC

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.

Note You need to log in before you can comment on or make changes to this bug.