CVE-2014-9295: Buffer Overflow
As per upstream NTP security advisory, multiple buffer overflows were reported in ntp daemon, details provided below
Buffer overflow in cryptorecv()
When Autokey Authentication is enabled (i.e. the ntp.conf file contains a 'crypto pw ...' directive) a remote attacker can send a carefully crafted packet that can overflow a stack buffer and potentially allow malicious code to be executed with the privilege level of the ntpd process. This vulnerability was discovered by Stephen Roettger of the Google Security Team.
Mitigation: Disable Autokey Authentication by removing, or commenting out, all configuration directives beginning with the crypto keyword in your ntp.conf file.
Buffer overflow in ctlputdata()
A remote attacker can send a carefully crafted packet that can overflow a stack buffer and potentially allow malicious code to be executed with the privilege level of the ntpd process. This vulnerability was discovered by Stephen Roettger of the Google Security Team.
Buffer overflow in configure()
A remote attacker can send a carefully crafted packet that can overflow a stack buffer and potentially allow malicious code to be executed with the privilege level of the ntpd process. This vulnerability was discovered by Stephen Roettger of the Google Security Team.
Other sources
Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers to execute arbitrary code via a crafted packet, related to (1) the cryptorecv function when the Autokey Authentication feature is used, (2) the ctlputdata function, and (3) the configure function.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2014-9295?
CVE-2014-9295 has been classified with a high severity due to its potential for remote code execution through buffer overflows.
How do I fix CVE-2014-9295?
To fix CVE-2014-9295, update the NTP daemon to version 4.2.8 or later where the vulnerabilities have been addressed.
What systems are affected by CVE-2014-9295?
CVE-2014-9295 affects NTP versions up to and including 4.2.7, and specifically instances where Autokey Authentication is enabled.
Can CVE-2014-9295 be exploited remotely?
Yes, CVE-2014-9295 can be exploited remotely by attackers who can send specially crafted packets to the vulnerable NTP daemon.
What types of attacks are possible with CVE-2014-9295?
Exploitation of CVE-2014-9295 can lead to buffer overflows that may result in remote code execution or denial of service.