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盘.网络共享等途径触发漏洞, ...
随机推荐
- 64_l3
libguac-client-ssh-0.9.13-3.20170521git6d2cfda...> 23-May-2017 09:58 64570 libguac-client-ssh-0.9 ...
- 设计模式之笔记--适配器模式(Adapter)
适配器模式(Adapter) 定义 适配器模式(Adapter),将一个类的接口转换成客户希望的另外一个接口.Adapter模式使得原本由于接口不兼容而不能一起工作的那些类可以在一起工作. 适配器模式 ...
- springboot在不同环境下进行不同的配置
原文链接:http://www.cnblogs.com/java-zhao/p/5469183.html 不同的环境设置一个配置文件,例如:dev(开发)环境下的配置设置在application-de ...
- aspxpivotgrid 导出excel时,非绑定咧显示为0的情况
using DevExpress.XtraPrinting; Exporter.ExportXlsToResponse(this.Title,TextExportMode.Text,true); // ...
- 利用h5,chart.js监测手机三轴加速度,用以研究计步算法等
用window.DeviceMotionEvent来判断手机浏览器是否支持访问硬件资源,window.addEventListener('devicemotion',deviceMotionHandl ...
- vue 组件中数据传递
//有种形式的传递:从父到子,从子到父,平行级别的传递//首先第一种:从父到子,用props属性绑定 //父级数据: new vue({ "el":"#app" ...
- java中String的内存位置
- linux命令(6):tar命令
压缩方法:tar zcvf test.tar.gz test [表示把文件夹目录压缩成test.tar.gz文件保存] 解压方法:tar zxvf test.tar.gz –C /home [表示解压 ...
- hdu 1080(LCS变形)
Human Gene Functions Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Oth ...
- WordPress主循环(The Loop)函数have_posts(),the_post()详解
WordPress中调用文章标题是the_title();调用文章内容时用到the_content();调用文章的作者时用到the_author();等等这些函数,都需要在主循环中使用,下面就介绍一下 ...