安全研究

安全漏洞
Linux Kernel /proc/net/rt_cache远程拒绝服务漏洞

发布日期:2009-03-11
更新日期:2009-03-12

受影响系统:
Linux kernel 2.6.x
不受影响系统:
Linux kernel 2.6.25
描述:
BUGTRAQ  ID: 34084
CVE(CAN) ID: CVE-2009-0778

Linux Kernel是开放源码操作系统Linux所使用的内核。

即使缓存的路由表保持不变,/proc/slabinfo中的ip_dst_cache值也会一直递增,这会导致ip_dst_cache最终会到达/proc/sys/net/ipv4/route/max_size的值。当到达该值的时候,内核就会报告“dst cache overflow”,之后服务器不再响应任何网络活动。

<*来源:Hector Herrera
  
  链接:https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=485163
        http://permalink.gmane.org/gmane.comp.security.oss.general/1552
        https://www.redhat.com/support/errata/RHSA-2010-0079.html
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

https://bugzilla.redhat.com/attachment.cgi?id=333266
https://bugzilla.redhat.com/attachment.cgi?id=333267

建议:
临时解决方法:

* 删除REJECT路由,或用ip route add 10.10.0.0/16 via 127.0.0.1替换。
* 使用iptable。

厂商补丁:

Linux
-----
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

https://bugzilla.redhat.com/attachment.cgi?id=333786
https://bugzilla.redhat.com/attachment.cgi?id=334377

RedHat
------
RedHat已经为此发布了一个安全公告(RHSA-2010:0079-01)以及相应补丁:
RHSA-2010:0079-01:Important: kernel security and bug fix update
链接:https://www.redhat.com/support/errata/RHSA-2010-0079.html

浏览次数:3251
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障