Bug 833482 (CVE-2012-2746)

Summary: CVE-2012-2746 rhds/389: plaintext password disclosure in audit log
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: edewata, jgalipea, mjc, nhosoi, nkinder, rmeggins
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base 1.3.0.a1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-05 22:40:53 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: 830256, 830319, 830889, 835668, 835669    
Bug Blocks: 829937    

Description Vincent Danen 2012-06-19 14:48:41 UTC
A flaw was found [1] in the way 389 Directory Server and Red Hat Directory Server handled logging to the audit log.  When a user changed their password in the directory, the new password would be written to the audit log in plaintext.

Although the directory server administrator can configure the path and permissions of the audit log, by default it is mode 0600, owned by the directory server user, and is located in the directory server log directory (/var/log/dirsrv/slapd-[hostname]), which is mode 0770 and owned by the directory server user ("nobody", by default)

[1] https://fedorahosted.org/389/ticket/365

Comment 2 errata-xmlrpc 2012-06-20 15:19:41 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0997 https://rhn.redhat.com/errata/RHSA-2012-0997.html

Comment 3 errata-xmlrpc 2012-06-26 17:21:18 UTC
This issue has been addressed in following products:

  Red Hat Directory Server 8 for RHEL 5

Via RHSA-2012:1041 https://rhn.redhat.com/errata/RHSA-2012-1041.html

Comment 4 Vincent Danen 2012-06-26 18:57:31 UTC
Created 389-ds-base tracking bugs for this issue

Affects: epel-5 [bug 835669]

Comment 5 Vincent Danen 2012-06-26 19:01:24 UTC
Created 389-ds-base tracking bugs for this issue

Affects: fedora-all [bug 835668]

Comment 6 Vincent Danen 2013-02-05 22:40:53 UTC
This was fixed in 389-ds-base 1.3.0.a1.  A patch was included in the Fedora 17 1.2.11.6-1 package, and Fedora 18 has 1.3.0, so I would consider this fixed.  A patch was included in the EPEL5 1.2.10.11-1 package to correct this.