Vulnerabilities > CVE-2009-2516 - Improper Input Validation vulnerability in Microsoft products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
The kernel in Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP2, Vista Gold and SP1, and Server 2008 Gold does not properly validate data sent from user mode, which allows local users to gain privileges via a crafted PE .exe file that triggers a NULL pointer dereference during chain traversal, aka "Windows Kernel NULL Pointer Dereference Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 14 |
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.
Msbulletin
bulletin_id | MS09-058 |
bulletin_url | |
date | 2009-10-13T00:00:00 |
impact | Elevation of Privilege |
knowledgebase_id | 971486 |
knowledgebase_url | |
severity | Important |
title | Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS09-058.NASL |
description | The remote Windows host is running a version of the Windows kernel that is affected by multiple vulnerabilities : - An elevation of privilege vulnerability exists in the Windows kernel due to the incorrect truncation of a 64- bit value to a 32-bit value. An attacker who successfully exploited this vulnerability could run arbitrary code in kernel mode. An attacker could then install programs, view / change / delete data, or create new accounts with full user rights. (CVE-2009-2515) - An elevation of privilege vulnerability exists in the Windows kernel due to the incorrect truncation of a 64- bit value to a 32-bit value. An attacker who successfully exploited this vulnerability could run arbitrary code in kernel mode. An attacker could then install programs, view / change / delete data, or create new accounts with full user rights. (CVE-2009-2516) - A denial of service vulnerability exists in the Windows kernel because of the way the kernel handles certain exceptions. An attacker could exploit the vulnerability by running a specially crafted application causing the system to restart. (CVE-2009-2517) |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 42114 |
published | 2009-10-13 |
reporter | This script is Copyright (C) 2009-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/42114 |
title | MS09-058: Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege (971486) |
code |
|
Oval
accepted | 2011-10-24T04:00:22.972-04:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | The kernel in Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP2, Vista Gold and SP1, and Server 2008 Gold does not properly validate data sent from user mode, which allows local users to gain privileges via a crafted PE .exe file that triggers a NULL pointer dereference during chain traversal, aka "Windows Kernel NULL Pointer Dereference Vulnerability." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:6264 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
submitted | 2009-10-13T13:00:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | Windows Kernel NULL Pointer Dereference Vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | 72 |
Seebug
bulletinFamily exploit description CVE ID:CVE-2009-2516 Windows 是微软发布的流行操作系统。利用构造特殊PE格式的EXE文件,当文件在软盘、可移动设备或者网络共享上都可导致Windows系统蓝屏甚至权限提升。 Windows内核在对访问PE文件时会进行解析处理,由于遍历链表时没有正确判断指针是否为空,一个特殊构造的PE文件可触犯内核的非法内存地址访问,从而造成系统蓝屏或重启。本地登录用户也可能利用此漏洞提升权限。 当PE文件存放在软盘、U盘或者网络共享服务器上时,使用Explorer浏览相关目录时即可触发漏洞。 Microsoft Windows XP Microsoft Windows 2000 Microsoft Windows 2003 Microsoft Windows Vista/SP1 Microsoft Windows Server 2008 厂商状态: ========== 微软已发布安全公告MS09-058修复此安全漏洞 您可以在下列地址看到微软安全公告的详细内容: http://www.microsoft.com/china/technet/security/bulletin/MS09-058.mspx id SSV:12501 last seen 2017-11-19 modified 2009-10-20 published 2009-10-20 reporter Root title Windows内核畸形PE文件远程拒绝服务漏洞 bulletinFamily exploit description BUGTRAQ ID: 36625,36623,36624 CVE(CAN) ID: CVE-2009-2517,CVE-2009-2516,CVE-2009-2515 Windows是微软发布的非常流行的操作系统。 由于错误地将64位至截断为32位值,以及未充分验证用户态传递的某些数据,导致Windows内核中存在权限提升漏洞。成功利用此漏洞的攻击者可以运行任意内核态代码。此外由于内核处理特定异常方式而导致Windows内核中存在拒绝服务漏洞。 Microsoft Windows XP SP3 Microsoft Windows XP SP2 Microsoft Windows Vista SP2 Microsoft Windows Vista SP1 Microsoft Windows Vista Microsoft Windows Server 2008 SP2 Microsoft Windows Server 2008 Microsoft Windows Server 2003 SP2 Microsoft Windows 2000SP4 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS09-058)以及相应补丁: MS09-058:Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege (971486) 链接:http://www.microsoft.com/technet/security/Bulletin/MS09-058.mspx?pf=true NSFOCUS ------- NSFOCUS已经为此发布了一个安全公告(SA2009-03)以及相应补丁: SA2009-03:Windows Kernel Malformed PE File Remote DoS Vulnerability 链接:http://www.nsfocus.net/index.php?act=advisory&do=view&adv_id=49 id SSV:12490 last seen 2017-11-19 modified 2009-10-19 published 2009-10-19 reporter Root title Microsoft Windows内核本地权限提升和拒绝服务漏洞(MS09-058)
References
- http://www.nsfocus.com/en/advisories/0903.html
- http://www.nsfocus.com/en/advisories/0903.html
- http://www.us-cert.gov/cas/techalerts/TA09-286A.html
- http://www.us-cert.gov/cas/techalerts/TA09-286A.html
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2009/ms09-058
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2009/ms09-058
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6264
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6264