1. CVE archive
  2. 2017
  3. CVE-2017-2665

CVE-2017-2665

7 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 7 – High

Description

The skyring-setup command creates random password for mongodb skyring database but it writes password in plain text to /etc/skyring/skyring.conf file which is owned by root but read by local user. Any local user who has access to system running skyring service will be able to get password in plain text.

Affected products

VendorProductVersionPlatform
mongodb mongodb all –
redhat storage console 2.0 –
All 189 Mongodb vulnerabilities

Vulnerability type

CWE-522 Insufficiently Protected Credentials

The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity
An attacker could gain access to user accounts and access sensitive data used by the user accounts.

How to prevent it

Architecture and Design Use an appropriate security mechanism to protect the credentials.
Architecture and Design Make appropriate use of cryptography to protect the credentials.
Implementation Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).

All 1,446 CWE-522 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org