1. CVE archive
  2. 2018
  3. CVE-2018-10896

CVE-2018-10896

7.1 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N 7.1 – High

Description

The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh host keys. In some environments, this could lead to instances created by cloning a golden master or template system, sharing ssh host keys, and being able to impersonate one another or conduct man-in-the-middle attacks.

Affected products

VendorProductVersionPlatform
canonical cloud-init >= 0.6.2 < 18.4 –
All 9 Canonical Cloud-init vulnerabilities

Vulnerability type

CWE-321 Use of Hard-coded Cryptographic Key

The product uses a hard-coded, unchangeable cryptographic key.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism, Gain Privileges or Assume Identity, Read Application Data
If hard-coded cryptographic keys are used, it is almost certain that malicious users will gain access through the account in question. The use of a hard-coded cryptographic key significantly increases the possibility that encrypted data may be recovered.

How to prevent it

Architecture and Design Prevention schemes mirror that of hard-coded password storage.

All 319 CWE-321 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org