ID CVE-2009-2495
Summary The Active Template Library (ATL) in Microsoft Visual Studio .NET 2003 SP1, Visual Studio 2005 SP1 and 2008 Gold and SP1, and Visual C++ 2005 SP1 and 2008 Gold and SP1 does not properly enforce string termination, which allows remote attackers to obtain sensitive information via a crafted HTML document with an ATL (1) component or (2) control that triggers a buffer over-read, related to ATL headers and buffer allocation, aka "ATL Null String Vulnerability."
References
Vulnerable Configurations
  • cpe:2.3:a:microsoft:visual_c%2b%2b:2005:sp1_redistribution_pkg
    cpe:2.3:a:microsoft:visual_c%2b%2b:2005:sp1_redistribution_pkg
  • cpe:2.3:a:microsoft:visual_c%2b%2b:2008:redistribution_pkg
    cpe:2.3:a:microsoft:visual_c%2b%2b:2008:redistribution_pkg
  • cpe:2.3:a:microsoft:visual_c%2b%2b:2008:sp1_redistribution_pkg
    cpe:2.3:a:microsoft:visual_c%2b%2b:2008:sp1_redistribution_pkg
  • cpe:2.3:a:microsoft:visual_studio:2005:sp1
    cpe:2.3:a:microsoft:visual_studio:2005:sp1
  • cpe:2.3:a:microsoft:visual_studio:2005:sp1:64_bit_hosted_visual_c%2b%2b_tools
    cpe:2.3:a:microsoft:visual_studio:2005:sp1:64_bit_hosted_visual_c%2b%2b_tools
  • cpe:2.3:a:microsoft:visual_studio:2008
    cpe:2.3:a:microsoft:visual_studio:2008
  • Microsoft Visual Studio 2008 Service Pack 1
    cpe:2.3:a:microsoft:visual_studio:2008:sp1
  • Microsoft Visual Studio .NET 2003 SP1
    cpe:2.3:a:microsoft:visual_studio_.net:2003:sp1
CVSS
Base: 7.8 (as of 27-11-2015 - 12:22)
Impact:
Exploitability:
CWE CWE-200
CAPEC
  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE NONE NONE
msbulletin via4
  • bulletin_id MS09-035
    bulletin_url
    date 2009-07-28T00:00:00
    impact Remote Code Execution
    knowledgebase_id 969706
    knowledgebase_url
    severity Moderate
    title Vulnerabilities in Visual Studio Active Template Library Could Allow Remote Code Execution
  • bulletin_id MS09-060
    bulletin_url
    date 2009-10-13T00:00:00
    impact Remote Code Execution
    knowledgebase_id 973965
    knowledgebase_url
    severity Critical
    title Vulnerabilities in Microsoft Active Template Library (ATL) ActiveX Controls for Microsoft Office Could Allow Remote Code Execution
nessus via4
  • NASL family Windows
    NASL id SHOCKWAVE_PLAYER_APSB09_11.NASL
    description The remote Windows host contains a version of Adobe's Shockwave Player that is earlier than 11.5.0.601. Such versions were compiled against a version of Microsoft's Active Template Library (ATL) that contained a vulnerability. If an attacker can trick a user of the affected software into opening such a file, this issue could be leveraged to execute arbitrary code with the privileges of that user.
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 40421
    published 2009-07-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=40421
    title Shockwave Player < 11.5.0.601 Multiple Vulnerabilities (APSB09-11)
  • NASL family Windows : Microsoft Bulletins
    NASL id SMB_NT_MS09-060.NASL
    description One or more ActiveX controls included in Microsoft Outlook or Visio and installed on the remote Windows host was compiled with a version of Microsoft Active Template Library (ATL) that is affected by potentially several vulnerabilities : - 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) - An attacker who is able to run a malicious component or control built using Visual Studio ATL can, by manipulating a string with no terminating NULL byte, read extra data beyond the end of the string and thus disclose information in memory. (CVE-2009-2495)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 42116
    published 2009-10-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=42116
    title MS09-060: Vulnerabilities in Microsoft Active Template Library (ATL) ActiveX Controls for Microsoft Office Could Allow Remote Code Execution (973965)
  • NASL family Windows : Microsoft Bulletins
    NASL id SMB_NT_MS09-035.NASL
    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 : - On systems with components and controls installed that were built using Visual Studio ATL, 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) - On systems with components and controls installed that were built using Visual Studio ATL, unsafe usage of OleLoadFromStream could allow instantiation of arbitrary objects that can bypass related security policy, such as kill bits within Internet Explorer. (CVE-2009-2493) - On systems with components and controls installed that were built using Visual Studio ATL, an issue in the ATL headers could allow a string to be read without a terminating NULL character, which could lead to disclosure of information in memory. (CVE-2009-2495)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 40435
    published 2009-07-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=40435
    title MS09-035: Vulnerabilities in Visual Studio Active Template Library Could Allow Remote Code Execution (969706)
oval via4
  • accepted 2010-05-31T04:00:20.604-04:00
    class vulnerability
    contributors
    • name Dragos Prisaca
      organization Gideon Technologies, Inc.
    • name Mike Lah
      organization The MITRE Corporation
    • name Mike Lah
      organization The MITRE Corporation
    • name Mike Lah
      organization The MITRE Corporation
    • name Mike Lah
      organization The MITRE Corporation
    • name J. Daniel Brown
      organization DTCC
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization G2, Inc.
    • name Maria Kedovskaya
      organization ALTX-SOFT
    • name Maria Mikhno
      organization ALTX-SOFT
    definition_extensions
    • comment Microsoft Visual Studio .NET 2003 SP1 is installed
      oval oval:org.mitre.oval:def:168
    • comment Microsoft Visual Studio 2005 Service Pack 1 is installed
      oval oval:org.mitre.oval:def:6401
    • comment Microsoft Visual Studio 2008 is installed
      oval oval:org.mitre.oval:def:5401
    • comment Microsoft Visual Studio 2008 Service Pack 1 is installed
      oval oval:org.mitre.oval:def:6205
    description The Active Template Library (ATL) in Microsoft Visual Studio .NET 2003 SP1, Visual Studio 2005 SP1 and 2008 Gold and SP1, and Visual C++ 2005 SP1 and 2008 Gold and SP1 does not properly enforce string termination, which allows remote attackers to obtain sensitive information via a crafted HTML document with an ATL (1) component or (2) control that triggers a buffer over-read, related to ATL headers and buffer allocation, aka "ATL Null String Vulnerability."
    family windows
    id oval:org.mitre.oval:def:6305
    status deprecated
    submitted 2009-07-28T13:00:00
    title ATL Null String Vulnerability
    version 80
  • accepted 2009-11-30T04:00:47.349-05:00
    class vulnerability
    contributors
    • name Dragos Prisaca
      organization Gideon Technologies, Inc.
    • name J. Daniel Brown
      organization DTCC
    • name Shane Shaffer
      organization G2, Inc.
    definition_extensions
    • comment Microsoft Outlook 2002 is installed
      oval oval:org.mitre.oval:def:5179
    • comment Microsoft Outlook 2003 is installed
      oval oval:org.mitre.oval:def:5505
    • comment Microsoft Outlook 2007 is installed
      oval oval:org.mitre.oval:def:5352
    • comment Microsoft Visio Viewer 2002 is installed
      oval oval:org.mitre.oval:def:6500
    • comment Microsoft Office Visio Viewer 2003 is installed
      oval oval:org.mitre.oval:def:6420
    • comment Microsoft Office Visio Viewer 2007 is installed
      oval oval:org.mitre.oval:def:6128
    description The Active Template Library (ATL) in Microsoft Visual Studio .NET 2003 SP1, Visual Studio 2005 SP1 and 2008 Gold and SP1, and Visual C++ 2005 SP1 and 2008 Gold and SP1 does not properly enforce string termination, which allows remote attackers to obtain sensitive information via a crafted HTML document with an ATL (1) component or (2) control that triggers a buffer over-read, related to ATL headers and buffer allocation, aka "ATL Null String Vulnerability."
    family windows
    id oval:org.mitre.oval:def:6478
    status deprecated
    submitted 2009-10-13T13:00:00
    title ATL Null String Vulnerability
    version 7
  • accepted 2015-08-10T04:01:10.022-04:00
    class vulnerability
    contributors
    • name J. Daniel Brown
      organization DTCC
    • name Mike Lah
      organization The MITRE Corporation
    • name Mike Lah
      organization The MITRE Corporation
    • name Mike Lah
      organization The MITRE Corporation
    • name Mike Lah
      organization The MITRE Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Dragos Prisaca
      organization Symantec Corporation
    • name Shane Shaffer
      organization G2, Inc.
    • name Dragos Prisaca
      organization G2, Inc.
    • name Maria Kedovskaya
      organization ALTX-SOFT
    • name Maria Mikhno
      organization ALTX-SOFT
    • name Maria Mikhno
      organization ALTX-SOFT
    definition_extensions
    • comment Microsoft Outlook 2002 is installed
      oval oval:org.mitre.oval:def:5179
    • comment Microsoft Outlook 2003 is installed
      oval oval:org.mitre.oval:def:5505
    • comment Microsoft Outlook 2007 is installed
      oval oval:org.mitre.oval:def:5352
    • comment Microsoft Visio Viewer 2002 is installed
      oval oval:org.mitre.oval:def:6500
    • comment Microsoft Office Visio Viewer 2003 is installed
      oval oval:org.mitre.oval:def:6420
    • comment Microsoft Office Visio Viewer 2007 is installed
      oval oval:org.mitre.oval:def:6128
    • comment Microsoft Visual Studio .NET 2003 SP1 is installed
      oval oval:org.mitre.oval:def:168
    • comment Microsoft Visual Studio 2005 Service Pack 1 is installed
      oval oval:org.mitre.oval:def:6401
    • comment Microsoft Visual Studio 2008 is installed
      oval oval:org.mitre.oval:def:5401
    • comment Microsoft Visual Studio 2008 Service Pack 1 is installed
      oval oval:org.mitre.oval:def:6205
    • comment Microsoft Visual C++ 2005 Redistributable Package is installed
      oval oval:org.mitre.oval:def:29007
    • comment Microsoft Visual C++ 2008 Redistributable Package is installed
      oval oval:org.mitre.oval:def:28587
    description The Active Template Library (ATL) in Microsoft Visual Studio .NET 2003 SP1, Visual Studio 2005 SP1 and 2008 Gold and SP1, and Visual C++ 2005 SP1 and 2008 Gold and SP1 does not properly enforce string termination, which allows remote attackers to obtain sensitive information via a crafted HTML document with an ATL (1) component or (2) control that triggers a buffer over-read, related to ATL headers and buffer allocation, aka "ATL Null String Vulnerability."
    family windows
    id oval:org.mitre.oval:def:7573
    status accepted
    submitted 2010-01-12T23:30:00.000-05:00
    title ATL Null String Vulnerability
    version 89
refmap via4
cert
  • TA09-195A
  • TA09-286A
confirm
hp
  • HPSBMA02488
  • SSRT100013
ms
  • MS09-035
  • MS09-060
secunia
  • 35967
  • 36374
  • 36746
sunalert 266108
vupen ADV-2009-2034
Last major update 27-11-2015 - 13:11
Published 29-07-2009 - 13:30
Last modified 12-10-2018 - 17:51
Back to Top