SuSE Linux gnuplot漏洞

漏洞信息详情

SuSE Linux gnuplot漏洞

漏洞简介

SuSE Linux 3.5版本的gnuplot存在缓冲区溢出漏洞。本地用户可以利用该漏洞访问根目录。

漏洞公告

The quickest fix is to de-suid the binary. There is a patch available below.
— plot.c.old Fri Mar 5 03:17:59 1999
+++ plot.c Fri Mar 5 03:29:19 1999
@@ -516,7 +516,7 @@
char c=’\0′;/* character that should be added, or \0, if none */
if(tmp_home) {
– strcpy(home,tmp_home);
+ strncpy(home,tmp_home,(sizeof(home) – 1));
if( strlen(home) ) p = &home[strlen(home)-1];
else p = home;
#if defined(MSDOS) || defined(ATARI) || defined( OS2 ) || defined(_Windows) || defined(DOS386)

参考网址

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

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