安全研究

安全漏洞
Linux Kernel HFS子系统栈溢出漏洞

发布日期:2009-12-04
更新日期:2009-12-07

受影响系统:
Linux kernel 2.6.32
描述:
CVE(CAN) ID: CVE-2009-4020

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

Linux Kernel的fs/hfs/dir.c文件中的hfs_readdir函数存在栈溢出漏洞,特制的多级文件系统(HFS)可以在hfs_bnode_read()函数的memcpy()调用过程中触发这个溢出。攻击者可以提供源缓冲区和长度,目标缓冲区是固定长度的本地变量,这个变量存储在了hfs_bnode_read()调用程序的栈帧中(hfs_readdir())。由于在试图读取文件系统上目录时都会执行hfs_readdir()函数,因此用户试图检查任何文件系统内容时都会调用这个函数。

<*来源:Eugene Teo (eugeneteo@eugeneteo.net
  
  链接:https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=540736
        http://marc.info/?l=linux-mm-commits&m=125987755823047&w=2
        http://secunia.com/advisories/37590/
        https://www.redhat.com/support/errata/RHSA-2010-0046.html
        https://www.redhat.com/support/errata/RHSA-2010-0076.html
*>

建议:
厂商补丁:

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

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

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

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