CVE Database›Document archive›CVE-2021-3551

CVE-2021-3551

pki-server: Dogtag installer "pkispawn" logs admin credentials into a world-readable log file

Loading…

Severity

Low

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · June 3, 2021

Updated · November 22, 2025

Description

A flaw was found in the PKI-server, where the spkispawn command, when run in debug mode, stores admin credentials in the installation log file. This flaw allows a local attacker to retrieve the file to obtain the admin password and gain admin privileges to the Dogtag CA manager. The highest threat from this vulnerability is to confidentiality.

Statement

In Red Hat Identity Management, this flaw affects only new installation made using Red Hat Enterprise Linux 8.4. This issue is considered important in IdM, as its installation is done in Debug mode. The leaked credentials would allow any user with Low privileges to have full control of the managed domain(s).

In Red Hat Certificate System, this flaw affects only new installation of RHCS 10.2, when pkispawn is started in Debug mode. This issue is considered with Low severity as this is not the default, and Certificate System should be isolated from regular users.

Existing installation are not affected.

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

Manually delete or restrict permission to other in the installation log file : $ rm /var/log/pki/pki-ca-spawn*

  • OR, if you need to keep the installation logs : $ chmod o-rwx /var/log/pki/pki-ca-spawn*

CVSS / CWE

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

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

CWE-312 · Cleartext Storage of Sensitive Information