MS09-037: Vulnerabilities in Microsoft Active Template Library (ATL) Could Allow Remote Code Execution (973908)

high Nessus Plugin ID 40556

Synopsis

Arbitrary code can be executed on the remote host through Microsoft Active Template Library.

Description

The remote Windows host contains a version of the Microsoft Active Template Library (ATL), included as part of Visual Studio or Visual C++, that is affected by multiple vulnerabilities :

- A remote code execution issue affects the Microsoft Video ActiveX Control due to the a flaw in the function 'CComVariant::ReadFromStream' used in the ATL header, which fails to properly restrict untrusted data read from a stream. (CVE-2008-0015)

- A remote code execution issue exists in the Microsoft Active Template Library due to an error in the 'Load' method of the 'IPersistStreamInit' interface, which could allow calls to 'memcpy' with untrusted data.
(CVE-2008-0020)

- An issue in the ATL headers could allow an attacker to force VariantClear to be called on a VARIANT that has not been correctly initialized and, by supplying a corrupt stream, to execute arbitrary code.
(CVE-2009-0901)

- Unsafe usage of 'OleLoadFromStream' could allow instantiation of arbitrary objects which can bypass related security policy, such as kill bits within Internet Explorer. (CVE-2009-2493)

- A bug in the ATL header could allow reading a variant from a stream and leaving the variant type read with an invalid variant, which could be leveraged by an attacker to execute arbitrary code remotely.
(CVE-2009-2494)

Solution

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

See Also

https://www.nessus.org/u?1a80c846

Plugin Details

Severity: High

ID: 40556

File Name: smb_nt_ms09-037.nasl

Version: 1.29

Type: local

Agent: windows

Published: 8/11/2009

Updated: 8/5/2020

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.6

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

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

Vulnerability Information

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/MS_Bulletin_Checks/Possible

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/11/2009

Vulnerability Publication Date: 7/6/2009

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption)

Reference Information

CVE: CVE-2008-0015, CVE-2008-0020, CVE-2009-0901, CVE-2009-2493, CVE-2009-2494

BID: 35558, 35585, 35828, 35832, 35982

CWE: 119, 264, 94

CERT: 180513, 456745

IAVA: 2009-A-0067-S

MSFT: MS09-037

MSKB: 973354, 973507, 973540, 973815, 973869