Linux autofs漏洞

漏洞信息详情

Linux autofs漏洞

漏洞简介

带有长目录名称的Linux autofs模块存在缓冲区溢出漏洞。本地用户可以执行服务拒绝。

漏洞公告

The author has been notified of the problem and a quick-fix patch is available below.
— root.c.orig Thu Feb 18 20:26:23 1999
+++ root.c Thu Feb 18 20:26:17 1999
@@ -217,6 +217,11 @@
DPRINTK((“autofs_root_lookup: name = “));
autofs_say(dentry->d_name.name,dentry->d_name.len);
+ /* quick patch by balif@nacs.net 2-18-99 */
+ /* Prevents overflow of pkt.name in waitq.c:autofs_notify_daemon() */
+ if (dentry->d_name.len > 255)
+ return -ENAMETOOLONG;
+ if (!S_ISDIR(dir->i_mode))
return -ENOTDIR;

参考网址

来源: BID
名称: 312
链接:http://www.securityfocus.com/bid/312

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享