Bug 1477669 (CVE-2017-7551)

Summary: CVE-2017-7551 389-ds-base: Password brute-force possible for locked account due to different return codes
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: edewata, mreynolds, nhosoi, nkinder, rmeggins, tmihinto
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way 389-ds-base handled authentication attempts against locked accounts. A remote attacker could potentially use this flaw to continue password brute-forcing attacks against LDAP accounts, thereby bypassing the protection offered by the directory server's password lockout policy.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-03 12:01:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1476958, 1477674, 1478045, 1482425, 1482426    
Bug Blocks: 1477671    

Description Adam Mariš 2017-08-02 15:27:02 UTC
The directory server password lockout policy prevents binds from operating once a threshold of failed passwords has been met. If attacker during this lockout binds with the correct password, a different error code is returned. This means that attacker has no ratelimit or penalty during the account lock, and can continue to attempt passwords via bruteforce.

Upstream bug:

https://pagure.io/389-ds-base/issue/49336

Upstream patch:

https://pagure.io/389-ds-base/c/33db32a3e14b849d

Comment 1 Adam Mariš 2017-08-02 15:30:57 UTC
Created 389-ds-base tracking bugs for this issue:

Affects: fedora-all [bug 1477674]

Comment 5 errata-xmlrpc 2017-09-05 11:23:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2569 https://access.redhat.com/errata/RHSA-2017:2569