OmniHTTPD缓冲区溢出漏洞

漏洞信息详情

OmniHTTPD缓冲区溢出漏洞

漏洞简介

OmniHTTPd CGI程序imagemap.exe存在缓冲区溢出漏洞。远程攻击者利用该漏洞执行命令。

漏洞公告

Since source code for the imagemap program is supplied, UNYUN of Shadow Penguin Security suggests that checking for oversized arguments be added to the code:
void main(int argc, char **argv)
{
———– omit ———-
char OutString[100];
———– omit ———-
if(argc >= 2) {
//
// extract x & y from passed values
//
strcpy(OutString, argv[1]);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer overflow caused by this strcpy().
This overflow can be avoided if you put the following code before
strcpy().
if (strlen(argv[1])>99) exit
There are no known vendor provided solutions to this problem.

参考网址

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

来源: OSVDB
名称: 3380
链接:http://www.osvdb.org/3380

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