Vulnerability & Exploit Database

Back to search

MS12-020 Microsoft Remote Desktop Use-After-Free DoS

This module exploits the MS12-020 RDP vulnerability originally discovered and reported by Luigi Auriemma. The flaw can be found in the way the T.125 ConnectMCSPDU packet is handled in the maxChannelIDs field, which will result an invalid pointer being used, therefore causing a denial-of-service condition.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Luigi Auriemma
  • Daniel Godas-Lopez
  • Alex Ionescu
  • jduck <jduck [at]>
  • #ms12-020




Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/dos/windows/rdp/ms12_020_maxchannelids msf auxiliary(ms12_020_maxchannelids) > show actions ...actions... msf auxiliary(ms12_020_maxchannelids) > set ACTION <action-name> msf auxiliary(ms12_020_maxchannelids) > show options and set options... msf auxiliary(ms12_020_maxchannelids) > run

Related Vulnerabilities

Related Modules