Vulnerabilities > CVE-2008-1456 - Improper Input Validation vulnerability in Microsoft products

047910
CVSS 9.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
microsoft
CWE-20
critical
nessus

Summary

Array index vulnerability in the Event System in Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, and Server 2008 allows remote authenticated users to execute arbitrary code via a crafted event subscription request that is used to access an array of function pointers.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS08-049.NASL
descriptionThe remote version of Windows contains a vulnerability in the Event System that might allow an attacker to execute arbitrary code on the remote host. To exploit this vulnerability, an attacker with valid login credentials would need to send a malformed subscription request to the remote Event System.
last seen2020-06-01
modified2020-06-02
plugin id33878
published2008-08-13
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/33878
titleMS08-049: Vulnerabilities in Event System Could Allow Remote Code Execution (950974)

Oval

accepted2011-11-14T04:00:41.493-05:00
classvulnerability
contributors
  • nameSudhir Gandhe
    organizationSecure Elements, Inc.
  • nameManeesh Jolly
    organizationPrism Microsystems, Inc.
  • nameManeesh Jolly
    organizationPrism Microsystems, Inc.
  • nameChandan S
    organizationSecPod Technologies
definition_extensions
  • commentMicrosoft Windows 2000 SP4 or later is installed
    ovaloval:org.mitre.oval:def:229
  • commentMicrosoft Windows XP (x86) SP2 is installed
    ovaloval:org.mitre.oval:def:754
  • commentMicrosoft Windows XP (x86) SP3 is installed
    ovaloval:org.mitre.oval:def:5631
  • commentMicrosoft Windows Server 2003 SP1 (x86) is installed
    ovaloval:org.mitre.oval:def:565
  • commentMicrosoft Windows Server 2003 SP1 for Itanium is installed
    ovaloval:org.mitre.oval:def:1205
  • commentMicrosoft Windows Server 2003 SP1 (x64) is installed
    ovaloval:org.mitre.oval:def:4386
  • commentMicrosoft Windows XP Professional x64 Edition SP1 is installed
    ovaloval:org.mitre.oval:def:720
  • commentMicrosoft Windows Server 2003 (ia64) SP2 is installed
    ovaloval:org.mitre.oval:def:1442
  • commentMicrosoft Windows Server 2003 SP2 (x86) is installed
    ovaloval:org.mitre.oval:def:1935
  • commentMicrosoft Windows Server 2003 SP2 (x64) is installed
    ovaloval:org.mitre.oval:def:2161
  • commentMicrosoft Windows XP x64 Edition SP2 is installed
    ovaloval:org.mitre.oval:def:4193
  • commentMicrosoft Windows Vista is installed
    ovaloval:org.mitre.oval:def:228
  • commentMicrosoft Windows Vista (32-bit) Service Pack 1 is installed
    ovaloval:org.mitre.oval:def:4873
  • commentMicrosoft Windows Vista x64 Edition Service Pack 1 is installed
    ovaloval:org.mitre.oval:def:5254
  • commentMicrosoft Windows Server 2008 (ia-64) is installed
    ovaloval:org.mitre.oval:def:5667
  • commentMicrosoft Windows Server 2008 (64-bit) is installed
    ovaloval:org.mitre.oval:def:5356
  • commentMicrosoft Windows Server 2008 (32-bit) is installed
    ovaloval:org.mitre.oval:def:4870
descriptionArray index vulnerability in the Event System in Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, and Server 2008 allows remote authenticated users to execute arbitrary code via a crafted event subscription request that is used to access an array of function pointers.
familywindows
idoval:org.mitre.oval:def:5630
statusaccepted
submitted2008-08-13T09:28:00
titleEvent System Vulnerability
version73

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 30586 CVE(CAN) ID: CVE-2008-1456 Microsoft Windows是微软发布的非常流行的操作系统。 Microsoft Windows事件系统在调用函数指针数组时没有正确地验证索引范围,导致远程权限提升漏洞。成功利用此漏洞的攻击者可以完全控制受影响的系统。攻击者随后可安装程序;查看、更改或删除数据;或者创建拥有完全管理权限的新帐户。 Microsoft Windows XP SP3 Microsoft Windows XP SP2 Microsoft Windows Vista SP1 Microsoft Windows Vista Microsoft Windows Server 2008 Microsoft Windows Server 2003 SP2 Microsoft Windows Server 2003 Microsoft Windows 2000SP4 临时解决方法: * 注销es.dll,请执行下列步骤: 1. 以拥有管理特权的用户身份登录。 2. 单击“开始”,单击“运行”,键入cmd,然后单击“确定”。 3. 在命令提示符处键入以下命令: regsvr32 /-u %WINDIR%\SYSTEM32\es.dll * 停止和禁用系统事件通知和COM+事件系统服务 交互式: 1. 单击“开始”,然后单击“控制面板”。或者,指向“设置”,然后单击“控制面板”。 2. 双击“管理工具”。或者,单击切换到“经典视图”,然后双击“管理工具”。 3. 双击“服务”。 4. 双击“系统事件通知”。 5. 在“启动类型”列表中,单击“禁用”。 6. 单击“停止”,然后单击“确定”。 您也可以通过在命令提示符(Windows XP中及Microsoft Windows 2000的资源工 具包中均有提供)处使用以下命令来停止和禁用系统事件通知服务: sc stop sens &amp; sc config sens start= disabled 然后对COM+事件系统重复上述步骤。 您也可以通过在命令提示符(Windows XP中及Windows 2000的资源工具包中均有 提供)处使用以下命令来停止和禁用COM+事件系统服务: sc stop eventsystem &amp; sc config eventsystem start= disabled * 修改es.dll上的访问控制列表 在Windows XP和Windows Server 2003上: 1. 以拥有管理员特权的用户身份登录。 2. 单击“开始”,单击“运行”,键入cmd,然后单击“确定”。 3. 记下文件上的当前 ACL(包括继承设置),以便将来必须撤消此修改时作为参 考。要查看ACL,请键入以下内容: cacls %WINDIR%\SYSTEM32\es.DLL 4. 要拒绝“everyone”组访问该文件,请在命令提示符处键入以下内容: echo y| cacls %WINDIR%\SYSTEM32\es.DLL /E /P everyone:N 在Windows Vista上: 1. 以拥有管理员特权的用户身份登录。 2. 单击“开始”,单击“运行”,键入cmd,然后单击“确定”。 3. 记下文件上的当前 ACL(包括继承设置),以便将来必须撤消此修改时作为参 考。要查看ACL,请键入以下内容: cacls %WINDIR%\SYSTEM32\es.DLL 4. 要允许“everyone”组访问该文件,请在命令提示符处键入以下内容: takeown.exe /f %WINDIR%\SYSTEM32\es.DLL icacls.exe %WINDIR%\SYSTEM32\es.DLL /save %TEMP%\es_ACL.TXT icacls.exe %WINDIR%\SYSTEM32\es.DLL /allow everyone:(F) 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS08-049)以及相应补丁: MS08-049:Vulnerabilities in Event System Could Allow Remote Code Execution (950974) 链接:<a href=http://www.microsoft.com/technet/security/bulletin/MS08-049.mspx?pf=true target=_blank>http://www.microsoft.com/technet/security/bulletin/MS08-049.mspx?pf=true</a>
idSSV:3854
last seen2017-11-19
modified2008-08-15
published2008-08-15
reporterRoot
titleMicrosoft Windows事件系统数组索引验证权限提升漏洞(MS08-049)