1. CVE archive
  2. 2015
  3. CVE-2015-3405

CVE-2015-3405

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

Description

ntp-keygen in ntp 4.2.8px before 4.2.8p2-RC2 and 4.3.x before 4.3.12 does not generate MD5 keys with sufficient entropy on big endian machines when the lowest order byte of the temp variable is between 0x20 and 0x7f and not #, which might allow remote attackers to obtain the value of generated MD5 keys via a brute force attack with the 93 possible keys.

Affected products

VendorProductVersionPlatform
debian debian linux 7.0 –
debian debian linux 8.0 –
fedoraproject fedora 21 –
ntp ntp 4.2.8 p1 –
ntp ntp 4.2.8 p2 –
ntp ntp 4.2.8 p2-rc1 –
ntp ntp 4.3.0 –
ntp ntp 4.3.1 –
ntp ntp 4.3.2 –
ntp ntp 4.3.3 –
ntp ntp 4.3.4 –
ntp ntp 4.3.5 –
ntp ntp 4.3.6 –
ntp ntp 4.3.7 –
ntp ntp 4.3.8 –
ntp ntp 4.3.9 –
ntp ntp 4.3.10 –
ntp ntp 4.3.11 –
opensuse suse linux enterprise server 11.0 sp3 –
opensuse project suse linux enterprise desktop 11.0 sp3 –
redhat enterprise linux desktop 6.0 –
redhat enterprise linux for ibm z systems 6.0 –
redhat enterprise linux for power big endian 6.0 –
redhat enterprise linux for scientific computing 6.0 –
redhat enterprise linux server 6.0 –
redhat enterprise linux server from rhui 6 6.0 –
redhat enterprise linux workstation 6.0 –
suse suse linux enterprise server 11.0 sp3 vmware
All 99 Ntp vulnerabilities

Vulnerability type

CWE-331 Insufficient Entropy

The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

Impact on systems

ScopeImpact
Access Control, Other Bypass Protection Mechanism, Other
An attacker could guess the random numbers generated and could gain unauthorized access to a system if the random numbers are used for authentication and authorization.

How to prevent it

Implementation Determine the necessary entropy to adequately provide for randomness and predictability. This can be achieved by increasing the number of bits of objects such as keys and seeds.

All 131 CWE-331 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org