ntp up to 4.2.8p2-RC1/4.3.11 on Big Endian MD5 Key Generator ntp-keygen.c Temp entropy
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in ntp up to 4.2.8p2-RC1/4.3.11 on Big Endian. It has been classified as critical. The impacted element is an unknown function of the file ntp-keygen.c of the component MD5 Key Generator. This manipulation of the argument Temp as part of Variable causes entropy. This vulnerability is registered as CVE-2015-3405. Remote exploitation of the attack is possible. No exploit is available. Upgrading the affected component is recommended.
Details
A vulnerability was found in ntp up to 4.2.8p2-RC1/4.3.11 on Big Endian (Network Management Software). It has been declared as critical. Affected by this vulnerability is an unknown code block of the file ntp-keygen.c of the component MD5 Key Generator. The manipulation of the argument temp as part of a Variable leads to a entropy vulnerability. The CWE definition for the vulnerability is CWE-331. 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 04/09/2015. The weakness was published 08/09/2017 by Martin (oss-sec). The advisory is shared at openwall.com. This vulnerability is known as CVE-2015-3405 since 04/23/2015. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1600.001 for this issue.
The vulnerability was handled as a non-public zero-day exploit for at least 146 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 85751 (Amazon Linux AMI : ntp (ALAS-2015-593)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350424 (Amazon Linux Security Advisory for ntp: AL2012-2015-087).
Upgrading to version 4.2.8p2-RC2 or 4.3.12 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (85751) and SecurityFocus (BID 74045†). Similar entries are available at VDB-74664, VDB-78853, VDB-78937 and VDB-79347. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB Meta Temp Score: 7.2
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: EntropyCWE: CWE-331 / CWE-330 / CWE-310
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 85751
Nessus Name: Amazon Linux AMI : ntp (ALAS-2015-593)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: ALAS-2015-593
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ntp 4.2.8p2-RC2/4.3.12
Timeline
04/09/2015 🔍04/10/2015 🔍
04/23/2015 🔍
09/02/2015 🔍
09/03/2015 🔍
08/09/2017 🔍
08/09/2017 🔍
08/10/2017 🔍
12/15/2022 🔍
Sources
Advisory: RHSA-2015:1459Researcher: Martin Prpic (Martin)
Status: Not defined
Confirmation: 🔍
CVE: CVE-2015-3405 (🔍)
GCVE (CVE): GCVE-0-2015-3405
GCVE (VulDB): GCVE-100-105145
OVAL: 🔍
SecurityFocus: 74045 - NTP 'ntp-keygen.c' Predictable Random Number Generator Weakness
See also: 🔍
Entry
Created: 08/10/2017 08:32Updated: 12/15/2022 14:50
Changes: 08/10/2017 08:32 (84), 11/05/2019 17:53 (2), 01/08/2021 15:58 (2), 12/15/2022 14:50 (3)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.