漏洞信息详情
SuSE Linux gnuplot漏洞
- CNNVD编号:CNNVD-199903-026
- 危害等级: 中危
- CVE编号:
CVE-1999-0409
- 漏洞类型:
缓冲区溢出
- 发布时间:
1999-03-04
- 威胁类型:
本地
- 更新时间:
2005-05-02
- 厂 商:
suse - 漏洞来源:
First posted to bu… -
漏洞简介
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