CVE-2015-3405: High severity ntp vulnerability

Published Apr 9, 2015
·
Updated

A flaw was found in the way the ntp-keygen utility generated MD5 symmetric keys on big-endian systems. This could possibly allow an attacker to guess generated MD5 keys that could then be used to spoof an NTP client or server.

If the lowest byte of the temp variable is outside of the printable characters range (between 0x20 and 0x7f), the ntp-keygen utility enters an infinite loop. However, if the temp variable is within the aforementioned range, the generated MD5 key will consist of 20 identical characters, meaning only 93 possible keys can be generated.

Upstream bug:

https://bugs.ntp.org/showbug.cgi?id=2797

Upstream patch:

http://bk1.ntp.org/ntp-stable/?PAGE=patch&REV=55199296N2gFqH1Hm5GOnhrk9Ypygg

CVE request:

http://seclists.org/oss-sec/2015/q2/85

Other sources

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.

MITRE

Affected Software

28 affected components
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
Debian Debian Linux=7.0
Debian Debian Linux=8.0
openSUSE Suse Linux Enterprise Server=11.0-sp3
Opensuse Project Suse Linux Enterprise Desktop=11.0-sp3
SUSE Suse Linux Enterprise Server Vmware=11.0-sp3
Fedoraproject Fedora=21
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

Event History

Apr 9, 2015
Data Sourced
via Red Hat·01:13 PM
DescriptionSeverityAffected Software
Aug 9, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-3405?

CVE-2015-3405 is considered a medium severity vulnerability due to its potential for key guessing attacks.

2

How do I fix CVE-2015-3405?

To fix CVE-2015-3405, upgrade the NTP software to the latest version where the issue is resolved.

3

What systems are affected by CVE-2015-3405?

CVE-2015-3405 affects various versions of NTP, particularly those prior to 4.2.8-p3 and 4.3.10.

4

What vulnerabilities does CVE-2015-3405 address?

CVE-2015-3405 specifically addresses the weak generation of MD5 symmetric keys in NTP, particularly on big-endian systems.

5

Can CVE-2015-3405 be exploited remotely?

Yes, CVE-2015-3405 can potentially be exploited remotely by attackers to spoof NTP clients or servers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203