<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: 389-ds-base security update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2012:0997</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-06-20T11:27:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-06-20T11:27:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-06-20T11:27:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-06-20T15:20:02Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated 389-ds-base packages that fix two security issues are now available
for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
The 389 Directory Server is an LDAPv3 compliant server. The base packages
include the Lightweight Directory Access Protocol (LDAP) server and
command-line utilities for server administration.

A flaw was found in the way 389 Directory Server handled password changes.
If an LDAP user has changed their password, and the directory server has
not been restarted since that change, an attacker able to bind to the
directory server could obtain the plain text version of that user's
password via the &quot;unhashed#user#password&quot; attribute. (CVE-2012-2678)

It was found that when the password for an LDAP user was changed, and audit
logging was enabled (it is disabled by default), the new password was
written to the audit log in plain text form. This update introduces a new
configuration parameter, &quot;nsslapd-auditlog-logging-hide-unhashed-pw&quot;, which
when set to &quot;on&quot; (the default option), prevents 389 Directory Server from
writing plain text passwords to the audit log. This option can be
configured in &quot;/etc/dirsrv/slapd-[ID]/dse.ldif&quot;. (CVE-2012-2746)

All users of 389-ds-base are advised to upgrade to these updated packages,
which resolve these issues. After installing this update, the 389 server
service will be restarted automatically.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Moderate</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2012-0997.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-0997.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#moderate</URL>
       <Description>https://access.redhat.com/security/updates/classification/#moderate</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Enterprise Linux">
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node Optional (v. 6)">
        <FullProductName ProductID="6ComputeNode-optional-6.3.z">Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server (v. 6)">
        <FullProductName ProductID="6Server-6.3.z">Red Hat Enterprise Linux Server (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation (v. 6)">
        <FullProductName ProductID="6Workstation-6.3.z">Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop Optional (v. 6)">
        <FullProductName ProductID="6Client-optional-6.3.z">Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation Optional (v. 6)">
        <FullProductName ProductID="6Workstation-optional-6.3.z">Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server Optional (v. 6)">
        <FullProductName ProductID="6Server-optional-6.3.z">Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="389-ds-base-1.2.10.2-18.el6_3">
      <FullProductName ProductID="389-ds-base-1.2.10.2-18.el6_3">389-ds-base-1.2.10.2-18.el6_3.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="389-ds-base-1.2.10.2-18.el6_3" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-optional-6.3.z">
      <FullProductName ProductID="6ComputeNode-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3">389-ds-base-1.2.10.2-18.el6_3 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="389-ds-base-1.2.10.2-18.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Server-6.3.z">
      <FullProductName ProductID="6Server-6.3.z:389-ds-base-1.2.10.2-18.el6_3">389-ds-base-1.2.10.2-18.el6_3 as a component of Red Hat Enterprise Linux Server (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="389-ds-base-1.2.10.2-18.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Workstation-6.3.z">
      <FullProductName ProductID="6Workstation-6.3.z:389-ds-base-1.2.10.2-18.el6_3">389-ds-base-1.2.10.2-18.el6_3 as a component of Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="389-ds-base-1.2.10.2-18.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Client-optional-6.3.z">
      <FullProductName ProductID="6Client-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3">389-ds-base-1.2.10.2-18.el6_3 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="389-ds-base-1.2.10.2-18.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Workstation-optional-6.3.z">
      <FullProductName ProductID="6Workstation-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3">389-ds-base-1.2.10.2-18.el6_3 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="389-ds-base-1.2.10.2-18.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Server-optional-6.3.z">
      <FullProductName ProductID="6Server-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3">389-ds-base-1.2.10.2-18.el6_3 as a component of Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A flaw was found in the way 389 Directory Server handled password changes. If an LDAP user has changed their password, and the directory server has not been restarted since that change, an attacker able to bind to the directory server could obtain the plain text version of that user's password via the &quot;unhashed#user#password&quot; attribute. </Note></Notes>
    <DiscoveryDate>2012-06-06T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-06-20T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-2678</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6ComputeNode-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Server-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Server-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Workstation-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Workstation-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>5.5</BaseScore>
      <Vector>AV:N/AC:L/Au:S/C:P/I:P/A:N</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-0997.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-2678.html</URL>
        <Description>CVE-2012-2678</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=829933</URL>
        <Description>bz#829933: CVE-2012-2678 rhds/389: plaintext password disclosure flaw</Description>
      </Reference>
    </References>
  </Vulnerability>

  <Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">It was found that when the password for an LDAP user was changed, and audit logging was enabled (it is disabled by default), the new password was written to the audit log in plain text form. This update introduces a new configuration parameter, &quot;nsslapd-auditlog-logging-hide-unhashed-pw&quot;, which when set to &quot;on&quot; (the default option), prevents 389 Directory Server from writing plain text passwords to the audit log. This option can be configured in &quot;/etc/dirsrv/slapd-[ID]/dse.ldif&quot;. </Note></Notes>
    <DiscoveryDate>2012-06-08T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-05-10T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-2746</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6ComputeNode-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Server-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Server-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Workstation-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
      <ProductID>6Workstation-optional-6.3.z:389-ds-base-1.2.10.2-18.el6_3</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Low</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>2.6</BaseScore>
      <Vector>AV:L/AC:H/Au:N/C:P/I:P/A:N</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-0997.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-2746.html</URL>
        <Description>CVE-2012-2746</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=833482</URL>
        <Description>bz#833482: CVE-2012-2746 rhds/389: plaintext password disclosure in audit log</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
