CVE Database›Document archive›CVE-2018-10871

CVE-2018-10871

389-ds-base: replication and the Retro Changelog plugin store plaintext password by default

Loading…

Severity

Moderate

Red Hat Product Security

3.8

CVSS 3.0

Review impact separately from score.

Published · June 18, 2018

Updated · June 30, 2026

Description

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

On 389-ds-base 1.3.1 and above: 1- Deactivate clear password storing by default, to prevent new passwords to be logged. -> in cn=config, set nsslapd-unhashed-pw-switch attribute to 'off' or 'nolog'

2- Trim changelog to ensure currently stored passwords are removed. For Replication: -> in cn=changelog5,cn=config, reduce nsslapd-changelogmaxentries, nsslapd-changelogtrim-interval and nsslapd-changelogmaxage -> force a replication & wait for the changelogtrim-interval time -> restore previous values

For RetroChangelog: -> deactivate the plugin -> restart directory server -> reactivate the plugin -> restart directory server

CVSS / CWE

CVSS 3.0 · 3.8
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

CWE-312 · Cleartext Storage of Sensitive Information