Users login

Create an account »


Users login

Home » Hacking News » mIRC $asctime overflow

mIRC $asctime overflow

by Nikola Strahija on August 27th, 2002 mIRC provides scripting capabilities to allow extension of the client. A flaw exists in the $asctime identifier, which is used to format Unix style time stamps. Passing a string of sufficient length to $asctime will cause a buffer overflow on the stack. This allows the execution of byte code through calling $asctime with a carefully constructed string.

The default script included with mIRC does not call $asctime at any
point. However the majority of major scripts available for download
call $asctime to decode data provided by the irc server. Many scripts
call $asctime on data provided from other remote sources. The
exploitation of this flaw therefore depends on the script installed
by the victim.

Researched by: James Martin
Full advisory:
Exploit: Proof of concept code available at above URL.

Product: mIRC
Version: V6.00, V6.01, V6.02.
Fix: Download mIRC 6.03 from
Please do not download from unofficial sites, as you may
a trojaned version.
Type: Buffer Overrun
Risk: Low to High

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »