본문 바로가기

취약점 정보1

Critical #NTP Vulnerability in ntpd prior to 4.2.8

728x90

The Google security team discovered several vulnerabilities in current NTP implementations, one of which can lead to arbitrary code execution [1][2]. NTP servers prior to version 4.2.8 are affected. 

There are some rumors about active exploitation of at least some of the vulnerabilities Google discovered.

Make sure to patch all publicly reachable NTP implementations as fast as possible. 

Mitigating Circumstances: 

Try to block inbound connections to ntp servers who do not have to be publicly reachable. However, be aware that simple statefull firewalls may not track UDP connections correctly and will allow access to internal NTP servers from any external IP if the NTP server recently established an outbound connection.

ntpd typically does not have to run as root. Most Unix/Linux versions will configure NTP using a lower privileged users.

According to the advisory at ntp.org, you can also:

Disable Autokey Authentication by removing, or commenting out, all configuration directives beginning with the crypto keyword in your ntp.conf file.

A few Ubuntu and CentOS systems I tested, as well as OS X systems, do not seem to use autokey. 

[1] http://www.kb.cert.org/vuls/id/852879
[2] http://support.ntp.org/bin/view/Main/SecurityNotice

CVEImpactDetails
CVE-2014-9293authenticationntp will create a weak key if none is provided in the configuration file.
CVE-2014-9294authenticationntp-keygen uses a weak seed to create random keys
CVE-2014-9295remote code executionA 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.
CVE-2014-9296missing error messageIn the NTP code, a section of code is missing a return, and the resulting error indicates processing did not stop.
728x90

'취약점 정보1' 카테고리의 다른 글

Harden SSL in nginx with stronger ciphers, newer TLS, and HSTS  (0) 2014.12.21
Which NTP Servers do You Need to Patch?  (0) 2014.12.21
MS14-068  (0) 2014.12.13
MS14-068  (0) 2014.12.13
CVE-2014-9218 phpMyAdmin DoS Proof of Concept  (0) 2014.12.11