Debian Super Syslog缓冲区溢出漏洞

漏洞信息详情

Debian Super Syslog缓冲区溢出漏洞

漏洞简介

super 3.11.6及其它版本的syslog功能存在缓冲区溢出漏洞。本地用户可以利用漏洞访问根目录。

漏洞公告

Remove the suid bit from the super binary or apply the following patch:
— error.c Thu Feb 25 00:38:25 1999
+++ error.patch.c Thu Feb 25 01:07:53 1999
@@ -321,7 +321,7 @@
if (tag)
StrLCat(newfmt, tag, sizeof(newfmt));
va_start(ap, fmt);
– (void) vsprintf(buf, newfmt, ap);
+ (void) vsnprintf(buf, sizeof(buf), newfmt, ap);
va_end(ap);
SysLog(error_priority, buf);
}
@@ -485,7 +485,7 @@
StrLCat(newfmt, fmt, sizeof(newfmt));
if (tag)
StrLCat(newfmt, tag, sizeof(newfmt));
– (void) vsprintf(buf, newfmt, ap);
+ (void) vsnprintf(buf, sizeof(buf), newfmt, ap);
va_end(ap);
SysLog(error_priority, buf);
}

参考网址

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

来源: BUGTRAQ
名称: 19990225 SUPER buffer overflow
链接:http://www.securityfocus.com/templates/archive.pike?list=1&msg=Pine.LNX.3.96.990225011801.12757A-100000@eleet

受影响实体

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