Bug 1747448 (CVE-2019-14824)

Summary: CVE-2019-14824 389-ds-base: Read permission check bypass via the deref plugin
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abokovoy, cbuissar, lkrispen, mhonek, mkosek, mreynolds, nkinder, psampaio, rmeggins, security-response-team, spichugi, tbordaz, vashirov
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 'deref' plugin of 389-ds-base where it could use the 'search' permission to display attribute values. In some configurations, this could allow an authenticated attacker to view private attributes, such as password hashes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-06 00:53:26 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: 1748198, 1748199, 1748200, 1748201, 1768373    
Bug Blocks: 1745585    

Description Dhananjay Arunesh 2019-08-30 13:12:51 UTC
A vulnerability was found in 389-ds-base : the `deref` plugin is checking for either READ or SEARCH permission for dereferencing an attribute.
This means that the SEARCH permission is sufficient to display an attribute via the plugin.

This is relevant in particular in IdM/IPA environment, where a default ACI ("Search existence of password and kerberos keys") in set. This leads to dereferencing able to display userPassword content or any users.

Comment 4 Cedric Buissart 2019-09-06 07:04:53 UTC
Acknowledgments:

Name: Gerald Vogt (Deutsches Klimarechenzentrum)

Comment 6 Cedric Buissart 2019-09-06 10:55:16 UTC
Statement:

This vulnerability is rated Important when use in a IdM/IPA environment, where an ACI installed by default allows an authenticated attacker to use this flaw to retrieve the userPassword attribute of any user.

Comment 7 Cedric Buissart 2019-11-04 09:15:38 UTC
Created 389-ds-base tracking bugs for this issue:

Affects: fedora-all [bug 1768373]

Comment 8 errata-xmlrpc 2019-11-05 20:46:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2019:3401 https://access.redhat.com/errata/RHSA-2019:3401

Comment 9 Product Security DevOps Team 2019-11-06 00:53:26 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-14824

Comment 10 errata-xmlrpc 2019-11-26 13:58:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:3981 https://access.redhat.com/errata/RHSA-2019:3981

Comment 11 Cedric Buissart 2019-11-28 12:54:07 UTC
Upstream patch:
https://pagure.io/389-ds-base/c/ddbe3c8fe

Comment 12 Cedric Buissart 2019-11-28 12:54:10 UTC
External References:

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

Comment 14 errata-xmlrpc 2020-02-10 19:53:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions

Via RHSA-2020:0464 https://access.redhat.com/errata/RHSA-2020:0464