MS12-020: Vulnerabilities in Remote Desktop Could Allow Remote Code Execution (2671387) (uncredentialed check)

high Nessus Plugin ID 58435

Synopsis

The remote Windows host could allow arbitrary code execution.

Description

An arbitrary remote code vulnerability exists in the implementation of the Remote Desktop Protocol (RDP) on the remote Windows host. The vulnerability is due to the way that RDP accesses an object in memory that has been improperly initialized or has been deleted.

If RDP has been enabled on the affected system, an unauthenticated, remote attacker could leverage this vulnerability to cause the system to execute arbitrary code by sending a sequence of specially crafted RDP packets to it.

This plugin also checks for a denial of service vulnerability in Microsoft Terminal Server.

Note that this script does not detect the vulnerability if the 'Allow connections only from computers running Remote Desktop with Network Level Authentication' setting is enabled or the security layer is set to 'SSL (TLS 1.0)' on the remote host.

Solution

Microsoft has released a set of patches for Windows XP, 2003, Vista, 2008, 7, and 2008 R2.

Note that an extended support contract with Microsoft is required to obtain the patch for this vulnerability for Windows 2000.

See Also

https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2012/ms12-020

Plugin Details

Severity: High

ID: 58435

File Name: ms12-020_remote.nbin

Version: 1.72

Type: remote

Agent: windows

Family: Windows

Published: 3/22/2012

Updated: 8/15/2022

Supported Sensors: Nessus Agent

Risk Information

VPR

Risk Factor: Critical

Score: 9.5

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: E:POC/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/o:microsoft:windows, cpe:/a:microsoft:remote_desktop_protocol

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/13/2012

Vulnerability Publication Date: 3/13/2012

Exploitable With

CANVAS (White_Phosphorus)

Core Impact

Metasploit (MS12-020 Microsoft Remote Desktop Checker)

Reference Information

CVE: CVE-2012-0002, CVE-2012-0152

BID: 52353, 52354

EDB-ID: 18606

MSFT: MS12-020

IAVA: 2012-A-0039

MSKB: 2621440, 2667402