CVE-2015-7974: High severity NTP ntp vulnerability
NTP 4.x before 4.2.8p6 and 4.3.x before 4.3.90 do not verify peer associations of symmetric keys when authenticating packets, which might allow remote attackers to conduct impersonation attacks via an arbitrary trusted key, aka a "skeleton key."
Other sources
The following flaw was found in NTP:
Symmetric key encryption requires a single trusted key to be specified for each server configuration. A key specified only for one server should only work to authenticate that server, other trusted keys should be refused.
However, when symmetric key authentication is verified, there is no check that the key used is the key specified for the address, any trusted key can be used as long as the keyid references another key the systems share and that key is used to compute the MAC.
An authenticated client (A) could use this flaw to modify a packet sent between a server (B) and a client (C) using a key that is different from the one known to the client (A).
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/ntpto a version that resolves this vulnerability.Fixed in 1:4.2.8p7+dfsg-1 - Upgrade
Upgrade
debian/ntpto a version that resolves this vulnerability.Fixed in 1:4.2.6.p5+dfsg-2+deb7u7Fixed in 1:4.2.6.p5+dfsg-7+deb8u2Fixed in 1:4.2.8p7+dfsg-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.2.8p6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.90 - Configuration
Specify a single trusted symmetric key for each server configuration.
NTP
Event History
Frequently Asked Questions
What is the severity of CVE-2015-7974?
CVE-2015-7974 is classified as a medium severity vulnerability due to the risk of impersonation attacks.
How do I fix CVE-2015-7974?
To fix CVE-2015-7974, upgrade your NTP software to version 4.2.8p12 or later, or 4.3.90 or later.
What software versions are affected by CVE-2015-7974?
CVE-2015-7974 affects NTP versions before 4.2.8p6 and 4.3.x before 4.3.90.
Can CVE-2015-7974 lead to remote attacks?
Yes, CVE-2015-7974 can allow remote attackers to conduct impersonation attacks using an arbitrary trusted key.
Is there a workaround for CVE-2015-7974?
There is no specific workaround for CVE-2015-7974; patching the software is the recommended solution.