Rapid7 Vulnerability & Exploit Database

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

Back to Search

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

Disclosed
03/16/2012
Created
05/30/2018

Description

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.

Author(s)

  • Luigi Auriemma
  • Daniel Godas-Lopez
  • Alex Ionescu
  • jduck <jduck@metasploit.com>
  • #ms12-020

Development

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
    ...show and set options...
msf auxiliary(ms12_020_maxchannelids) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;