安全研究

安全漏洞
Linux Kernel megaraid_sas驱动不安全文件权限漏洞

发布日期:2009-11-13
更新日期:2009-11-16

受影响系统:
Linux kernel 2.6.x
不受影响系统:
Linux kernel 2.6.27-rc4
描述:
BUGTRAQ  ID: 37019
CVE(CAN) ID: CVE-2009-3889,CVE-2009-3939

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

Linux所使用的megaraid_sas驱动中sysfs系统文件暴露了一些驱动属性,其中一些属性是完全可写的,本地攻击者可以更改驱动的行为,如设置调试日志级别、中断I/O模式等。

<*来源:Joe Malicki
  
  链接:https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=526068
        http://comments.gmane.org/gmane.comp.security.oss.general/2314
        http://secunia.com/advisories/37590/
        https://www.redhat.com/support/errata/RHSA-2009-1635.html
        https://www.redhat.com/support/errata/RHSA-2010-0046.html
        https://www.redhat.com/support/errata/RHSA-2010-0076.html
*>

测试方法:

警 告

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

1. ls -l /sys/bus/pci/drivers/megaraid_sas/dbg_lvl
2. ls -l /sys/bus/pci/drivers/megaraid_sas/poll_mode_io

建议:
厂商补丁:

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

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=66dca9b8c50b5e59d3bea8b21cee5c6dae6c9c46

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

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