CVE-2020-13867
targetcli: weak permissions for /etc/target and backup files
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 5, 2020
Updated · November 22, 2025
Description
An access flaw was found in targetcli, where the /etc/target and underneath backup directory/files were world-readable. This flaw allows a local attacker to access potentially sensitive information such as authentication credentials from the /etc/target/saveconfig.json and backup files. The highest threat from this vulnerability is to confidentiality.
Statement
The version of targetcli shipped with Red Hat Ceph Storage 3 sets the world-readable permissions for /etc/target and /etc/target/backup directory that store the sensitive information, hence affected by this vulnerability.
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
$ chmod -R og-rwx /etc/target
Future backup files will still be created with incorrect permissions, but attackers will not be able to access the target directory.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE-276 · Incorrect Default Permissions