Friday, March 16, 2012

Microsoft Remote Desktop Protocol Channel Abort Condition Remote Code Execution Vulnerability - POC

So finally released by Luigi Auriemma... :D

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft's Remote Desktop Protocol.Authentication is not required to exploit this vulnerability.The specific flaw exists during handling of an error while loading elements into an array.This condition can cause the driver to abort a connection and part of the logic of the abort is to free an object associated with it.This will actually occur twice when each of channels are disconnected.The second time this object is freed, the driver will fetch a virtual pointer from the freed object and call it.This can lead to code execution under the context of the driver.

Poc: http://aluigi.org/poc

Usage:
nc SERVER 3389 < termdd_1.dat resend it multiple times in case of no results and note that this is just a simple proof-of-concept packet to quickly test the bug so it's not optimized at all.
   
More Info: http://aluigi.org/adv/termdd_1-adv.txt

No comments: