NTP安全漏洞公告
NTP服务今天公告了几个高危漏洞,大概信息如下:
描述:包含缓冲区溢出等多个高危或低危漏洞。
危害:可以利用获取服务器权限完全控制服务器,至少可以造成服务器崩溃。
影响范围:只有升级到4.2.8才能解决所有漏洞,我们当前用的是4.2.6
漏洞验证:目前尚未公布可用于验证的攻击模块,为避免风险,建议直接升级。
缓解措施:可以在ntp.conf限制查询时间的来源机器,但是我们是开放给在互联网上的设备的,无法做这样的限制,由于poc未公布,也没有办法通过防火墙堵截,只能暂时关闭NTP服务,建议尽快直接升级。
更多信息和补丁参考以下地址:
http://support.ntp.org/bin/view/Main/SecurityNotice(详细内容贴在下面)
按照升级补丁流程,先在预发布验证功能OK再升级。
另外,由于NTP是个和其它业务无相关性的服务,可做单独完全隔离,降低风险。
Security Notice
- Notification Policy
- Reporting Security Issues
- Active Vulnerabilities
- Resolved Vulnerabilities
- Older Resolved Issues
- DRDoS / Amplification Attack using ntpdc monlist command
- DoS attack from certain NTP mode 7 packets
- Remote exploit if autokey is enabled
- Multiple OpenSSL signature verification API misuse
- Buffer overflow in ntp_control:ctl_getitem() function
- Internal overflow if date / time offset is greater than 34 years
Notification Policy
When we discover a security vulnerability in NTP we first notify institutional members of the NTP Consortium at Network Time Foundation, then CERT, and finally make a public announcement.
Reporting Security Issues
Security related bugs, confirmed or suspected, are to be reported by e-mail to security@ntp.org.
Please refrain from discussing potential security issues in public fora such as the comp.protocols.time.ntp Usenet news-group, our Bug Tracking system, bugs@ntp.org, or any other mailing-list.
Active Vulnerabilities
NTF's NTP Project has been notified of a number of vulnerabilities from Neel Mehta and Stephen Roettger of Google's Security Team. The two most serious of these issues and four less serious issues have been resolved as of ntp-4.2.8, which was released on 18 December 2014. There are still two less significant issues to be addressed. We're expecting to fix these within the next month.
Resolved Vulnerabilities
The following vulnerabilities have been reported for the Reference Implementation of NTP during the 20+ years that the NTP Project has existed.
Weak default key in config_auth()
- References: Sec 2665 / CVE-2014-9293 / VU#852879
- CVSS: (AV:N/AC:L/Au:M/C:P/I:P/A:C) Base Score: 7.3
- Versions: All NTP4 releases before 4.2.7p11
- Date Resolved: Dev (4.2.7p11) 28 Jan 2010
- Summary: If no
auth
key is set in the configuration file,ntpd
would generate a random key on the fly. There were two problems with this: 1) the generated key was 31 bits in size, and 2) it used the (now weak)ntp_random()
function, which was seeded with a 32 bit value and can only provide 32 bits of entropy. This was sufficient back in the late 1990s when this code was written. Not today. - Mitigation - any of:
- Upgrade to 4.2.7p11, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page.
- Put
restrict ... noquery
in yourntp.conf
file, for non-trusted senders.
- Credit: This vulnerability was discovered in ntp-4.2.6 by Neel Mehta of the Google Security Team.
non-cryptographic random number generator with weak seed used by ntp-keygen
to generate symmetric keys
- References: Sec 2666 / CVE-2014-9294 / VU#852879
- CVSS: (AV:N/AC:L/Au:M/C:P/I:P/A:C) Base Score: 7.3
- Versions: All NTP4 releases before 4.2.7p230
- Date Resolved: Dev (4.2.7p230) 01 Nov 2011
- Summary: Prior to ntp-4.2.7p230
ntp-keygen
used a weak seed to prepare a random number generator that was of good quality back in the late 1990s. The random numbers produced was then used to generate symmetric keys. In ntp-4.2.8 we use a current-technology cryptographic random number generator, eitherRAND_bytes
from OpenSSL, orarc4random()
. - Mitigation - any of:
- Upgrade to 4.2.7p230, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page.
- Put
restrict ... noquery
in yourntp.conf
file, for non-trusted senders.
- Credit: This vulnerability was discovered in ntp-4.2.6 by Stephen Roettger of the Google Security Team.
Buffer overflow in crypto_recv()
- References: Sec 2667 / CVE-2014-9295 / VU#852879
- CVSS: (AV:N/AC:L/Au:N/C:P/I:P/A:P) Base Score: 7.5
- Versions: All releases before 4.2.8
- Date Resolved: Stable (4.2.8) 18 Dec 2014
- Summary: When Autokey Authentication is enabled (i.e. the
ntp.conf
file contains acrypto 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. - Mitigation - any of:
- Upgrade to 4.2.8, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page
- Disable Autokey Authentication by removing, or commenting out, all configuration directives beginning with the
crypto
keyword in yourntp.conf
file. - Put
restrict ... noquery
in yourntp.conf
file, for non-trusted senders.
- Credit: This vulnerability was discovered by Stephen Roettger of the Google Security Team.
Buffer overflow in ctl_putdata()
- References: Sec 2668 / CVE-2014-9295 / VU#852879
- Versions: All NTP4 releases before 4.2.8
- CVSS: (AV:N/AC:L/Au:N/C:P/I:P/A:P) Base Score: 7.5
- Date Resolved: Stable (4.2.8) 18 Dec 2014
- Summary: 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.
- Mitigation - any of:
- Upgrade to 4.2.8, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page.
- Put
restrict ... noquery
in yourntp.conf
file, for non-trusted senders.
- Credit: This vulnerability was discovered by Stephen Roettger of the Google Security Team.
Buffer overflow in configure()
- References: Sec 2669 / CVE-2014-9295 / VU#852879
- Versions: All NTP4 releases before 4.2.8
- CVSS: (AV:N/AC:L/Au:N/C:P/I:P/A:P) Base Score: 7.5
- Date Resolved: Stable (4.2.8) 18 Dec 2014
- Summary: 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.
- Mitigation - any of:
- Upgrade to 4.2.8, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page.
- Put
restrict ... noquery
in yourntp.conf
file, for non-trusted senders.
- Credit: This vulnerability was discovered by Stephen Roettger of the Google Security Team.
receive()
: missing return on error
- References: Sec 2670 / CVE-2014-9296 / VU#852879
- Versions: All NTP4 releases before 4.2.8
- CVSS: (AV:N/AC:L/Au:N/C:N/I:N/A:P) Base Score: 5.0
- Date Resolved: Stable (4.2.8) 18 Dec 2014
- Summary: Code in
ntp_proto.c:receive()
is missing areturn;
in the code path where an error was detected, which meant processing did not stop when a specific rare error occurred. We haven't found a way for this bug to affect system integrity. If there is no way to affect system integrity the base CVSS score for this bug is 0. If there is one avenue through which system integrity can be partially affected, the base score becomes a 5. If system integrity can be partially affected via all three integrity metrics, the CVSS base score become 7.5. - Mitigation:
- Upgrade to 4.2.8, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page
- or Remove or comment out all configuration directives beginning with the
crypto
keyword in yourntp.conf
file.
- Credit: This vulnerability was discovered by Stephen Roettger of the Google Security Team.
NTP安全漏洞公告的更多相关文章
- openssh/ntp/ftp漏洞
这3种漏洞常规加固都要对应操作系统打官方漏洞升级包.既然这么说那下面就是不常规的: Openssh: 改ssh版本:whereis ssh //查看ssh目录cd 到该目录cp ssh ssh.bak ...
- 【漏洞公告】CVE-2017-12615/CVE-2017-12616:Tomcat信息泄漏和远程代码执行漏洞
2017年9月19日,Apache Tomcat官方确认并修复了两个高危漏洞,漏洞CVE编号:CVE-2017-12615和CVE-2017-12616,该漏洞受影响版本为7.0-7.80之间,在一定 ...
- 【漏洞公告】高危:Windows系统 SMB/RDP远程命令执行漏洞
2017年4月14日,国外黑客组织Shadow Brokers发出了NSA方程式组织的机密文档,包含了多个Windows 远程漏洞利用工具,该工具包可以可以覆盖全球70%的Windows服务器,为了确 ...
- 【漏洞公告】Tomcat信息泄漏和远程代码执行漏洞:CVE-2017-12615/CVE-2017-12616
2017年9月19日,Apache Tomcat官方确认并修复了两个高危漏洞,漏洞CVE编号:CVE-2017-12615和CVE-2017-12616,该漏洞受影响版本为7.0-7.80之间,在一定 ...
- Sophos UTM WebAdmin存在未明漏洞
...
- 漏洞预警 | Apache Struts2 曝任意代码执行漏洞 (S2-045)
近日,Apache官方发布Apache Struts 2.3.5–2.3.31版本及2.5–2.5.10版本存在远程代码执行漏洞(CNNVD-201703-152 ,CVE-2017-5638)的紧急 ...
- 【更新WordPress 4.6漏洞利用PoC】PHPMailer曝远程代码执行高危漏洞(CVE-2016-10033)
[2017.5.4更新] 昨天曝出了两个比较热门的漏洞,一个是CVE-2016-10033,另一个则为CVE-2017-8295.从描述来看,前者是WordPress Core 4.6一个未经授权的R ...
- OpenStack修复影响宿主机的QEMU漏洞CVE-2017-2615
距离这个虚拟化层面的漏洞公告发出已有两个多月了,漏洞详情可以查看: 360安全应急响应中心-360发现QEMU严重漏洞 影响国内大部分公有云 简单来说是通过Cirrus VGA操作读取宿主机内存中的内 ...
- CVE-2017-8464远程命令执行漏洞(震网漏洞)复现
前言 2017年6月13日,微软官方发布编号为CVE-2017-8464的漏洞公告,官方介绍Windows系统在解析快捷方式时存在远程执行任意代码的高危漏洞,黑客可以通过U盘.网络共享等途径触发漏洞, ...
随机推荐
- linux pthread【转】
转自:http://www.cnblogs.com/alanhu/articles/4748943.html Posix线程编程指南(1) 内容: 一. 线程创建 二.线程取消 关于作者 线程创 ...
- python基础===理解Class的一道题
解题如下: from random import randint class Die(): def __init__(self,sides=6): self.sides = sides def rol ...
- jstorm相关
https://www.cnblogs.com/antispam/p/4182210.html
- 【模板】解决二分图匹配的强力算法——Hopcroft-Karp算法
详细解释 参见:http://blog.csdn.net/wall_f/article/details/8248373 简要过程 HK算法可以当成是匈牙利算法的优化版,和dinic算法的思想比较类似. ...
- 算法入门系列2:k近邻算法
用官方的话来说,所谓K近邻算法(k-Nearest Neighbor,KNN),即是给定一个训练数据集,对新的输入实例,在训练数据集中找到与该实例最邻近的K个实例(也就是上面所说的K个邻居), 这K个 ...
- java生成缩略图,旋转,水印,截图
转自:http://rensanning.iteye.com/blog/1545708 感谢,方便自己查看
- P2725 邮票 Stamps(完全背包+限制填充数)
题目链接:https://www.luogu.org/problem/show?pid=2725 题目大意:给一组 N 枚邮票的面值集合(如,{1 分,3 分})和一个上限 K —— 表示信封上能够贴 ...
- Python+Selenium 自动化实现实例-打开浏览器模拟进行搜索数据并验证
#导入模块 from selenium import webdriverfrom selenium.webdriver.common.keys import Keys #启动火狐浏览器driver = ...
- echarts画k线图
var charset = echarts.init(document.getElementById("k_line")) $.get(k_line.url_A).done(fun ...
- sonarQube安装及本机扫描C#项目
因项目需要,需要使用sonarQube对代码进行扫描并查看,因对sonarQube不熟悉,所以先在本机搭建测试环境. 参考了张老师的博客:http://www.cnblogs.com/danzhang ...