{
  "threat_severity" : "Moderate",
  "public_date" : "2018-06-18T00:00:00Z",
  "bugzilla" : {
    "description" : "389-ds-base: replication and the Retro Changelog plugin store plaintext password by default",
    "id" : "1591480",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1591480"
  },
  "cvss3" : {
    "cvss3_base_score" : "3.8",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-312",
  "details" : [ "389-ds-base before versions 1.3.8.5, 1.4.0.12 is vulnerable to a Cleartext Storage of Sensitive Information. By default, when the Replica and/or retroChangeLog plugins are enabled, 389-ds-base stores passwords in plaintext format in their respective changelog files. An attacker with sufficiently high privileges, such as root or Directory Manager, can query these files in order to retrieve plaintext passwords.", "By default, when the Replica and/or retroChangeLog plugins are enabled, 389-ds-base stores passwords in plaintext format in their respective changelog files. An attacker with sufficiently high privileges, such as root or Directory Manager, can query these files in order to retrieve plaintext passwords." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2019-11-05T00:00:00Z",
    "advisory" : "RHSA-2019:3401",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "389-ds:1.4-8010020190903200205.eb48df33"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Will not fix",
    "package_name" : "389-ds-base",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Will not fix",
    "package_name" : "389-ds-base",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2018-10871\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-10871\nhttps://pagure.io/389-ds-base/issue/49789" ],
  "name" : "CVE-2018-10871",
  "mitigation" : {
    "value" : "On 389-ds-base 1.3.1 and above: \n1- Deactivate clear password storing by default, to prevent new passwords to be logged.\n-> in cn=config, set nsslapd-unhashed-pw-switch attribute to 'off' or 'nolog'\n2- Trim changelog to ensure currently stored passwords are removed.\nFor Replication:\n-> in cn=changelog5,cn=config, reduce nsslapd-changelogmaxentries, nsslapd-changelogtrim-interval and nsslapd-changelogmaxage\n-> force a replication & wait for the changelogtrim-interval time\n-> restore previous values\nFor RetroChangelog:\n-> deactivate the plugin\n-> restart directory server\n-> reactivate the plugin\n-> restart directory server",
    "lang" : "en:us"
  },
  "csaw" : false
}