J-Security Center

Title: MIRC Nick Buffer Overflow Vulnerability

Severity: CRITICAL

Description:

mIRC is a popular Internet Relay Chat client whichs runs of Microsoft Windows 9x/ME/NT/2000/XP operating systems.

A remote exploitable buffer overflow condition has been discovered in mIRC. This issue is due to improper bounds checking of nicknames sent by the server in the 001 numeric. Upon connection to an IRC server, most servers send a 001 numeric in response to a client connection to welcome the client. The 001 numeric looks like "Welcome to the Internet Relay Network $nickname" where $nikcname represents the nickname of the user.

If the server sends an excessively long nickname to the client (200+ characters), it is possible to overwrite stack variables (including the return address). As a result, the malicious server can cause attacker-supplied instructions to be executed on the client host.

This issue is also exploitable via a webpage that can instruct the client to launch and to make a connection to the malicious server.

This may lead to a full compromise of the host running the client software on some Windows systems.

Affected Products:

  • Khaled Mardam-Bey mIRC 2.1.0 a
  • Khaled Mardam-Bey mIRC 2.3.0 A
  • Khaled Mardam-Bey mIRC 2.4.0
  • Khaled Mardam-Bey mIRC 2.4.0 a
  • Khaled Mardam-Bey mIRC 2.5.0 a
  • Khaled Mardam-Bey mIRC 2.7.0 a
  • Khaled Mardam-Bey mIRC 2.8.0 c
  • Khaled Mardam-Bey mIRC 3.1.0
  • Khaled Mardam-Bey mIRC 3.2.0
  • Khaled Mardam-Bey mIRC 3.3.0
  • Khaled Mardam-Bey mIRC 3.4.0
  • Khaled Mardam-Bey mIRC 3.5.0
  • Khaled Mardam-Bey mIRC 3.6.0
  • Khaled Mardam-Bey mIRC 3.7.0
  • Khaled Mardam-Bey mIRC 3.8.0
  • Khaled Mardam-Bey mIRC 3.9.0
  • Khaled Mardam-Bey mIRC 4.0.0
  • Khaled Mardam-Bey mIRC 4.1.0
  • Khaled Mardam-Bey mIRC 4.5.0
  • Khaled Mardam-Bey mIRC 4.6.0
  • Khaled Mardam-Bey mIRC 4.7.0
  • Khaled Mardam-Bey mIRC 5.0.0
  • Khaled Mardam-Bey mIRC 5.1.0
  • Khaled Mardam-Bey mIRC 5.3.0
  • Khaled Mardam-Bey mIRC 5.4.0
  • Khaled Mardam-Bey mIRC 5.5.0
  • Khaled Mardam-Bey mIRC 5.6.0
  • Khaled Mardam-Bey mIRC 5.7.0
  • Khaled Mardam-Bey mIRC 5.8.0
  • Khaled Mardam-Bey mIRC 5.9.0
  • Khaled Mardam-Bey mIRC 5.91.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.