Vulnerabilities > CVE-2007-0041 - Buffer Errors vulnerability in Microsoft .Net Framework 1.0/1.1/2.0
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
The PE Loader service in Microsoft .NET Framework 1.0, 1.1, and 2.0 for Windows 2000, XP, Server 2003, and Vista allows remote attackers to execute arbitrary code via unspecified vectors involving an "unchecked buffer" and unvalidated message lengths, probably a buffer overflow.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 4 | |
Application | 3 |
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.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Windows NASL id SMB_KB931212.NASL description The remote web server is running a version of the ASP.NET framework that contains multiple vulnerabilities : - A PE Loader vulnerability could allow an attacker to execute arbitrary code with the privilege of the logged-on user. - A ASP.NET NULL byte termination vulnerability could allow an attacker to retrieve contents from the web server. - A JIT compiler vulnerability could allow an attacker to execute arbitrary code with the privilege of the logged-on user. last seen 2020-05-16 modified 2007-07-11 plugin id 25700 published 2007-07-11 reporter This script is Copyright (C) 2007-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/25700 title MS07-040: Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212) (uncredentialed check) NASL family Windows : Microsoft Bulletins NASL id SMB_NT_MS07-040.NASL description The remote host is running a version of the ASP.NET framework that contains multiple vulnerabilities : - A PE Loader vulnerability could allow an attacker to execute arbitrary code with the privileges of the logged-on user. - An ASP.NET NULL byte termination vulnerability could allow an attacker to retrieve the content of the web server. - A JIT compiler vulnerability could allow an attacker to execute arbitrary code with the privileges of the logged-on user. last seen 2020-05-16 modified 2007-07-10 plugin id 25691 published 2007-07-10 reporter This script is Copyright (C) 2007-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/25691 title MS07-040: Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212)
Oval
accepted | 2008-04-21T04:00:17.163-04:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | The PE Loader service in Microsoft .NET Framework 1.0, 1.1, and 2.0 for Windows 2000, XP, Server 2003, and Vista allows remote attackers to execute arbitrary code via unspecified vectors involving an "unchecked buffer" and unvalidated message lengths, probably a buffer overflow. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:2093 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
submitted | 2007-07-11T18:34:24 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | .NET PE Loader Vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | 40 |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 24778 CVE(CAN) ID: CVE-2007-0041 Microsoft .NET Framework是一个流行的软件开发工具包。 .NET Framework PE加载器处理包含畸形数据的PE文件时存在缓冲区溢出漏洞,本地攻击者可能利用此漏洞提升自己的权限。 .NET Framework PE加载器服务中存在未经检查的缓冲区,如果用户受骗访问了恶意网页并执行了某些操作的话,就可能触发缓冲区溢出,导致以登录用户的权限执行任意代码。如果用户使用管理用户权限登录,攻击者便可完全控制受影响的系统。攻击者可随后安装程序;查看、更改或删除数据;或者创建拥有完全用户权限的新帐户。那些帐户被配置为拥有较少系统用户权限的用户比具有管理用户权限的用户受到的影响要小。 Microsoft .NET Framework 2.0 Microsoft .NET Framework 1.1 Microsoft .NET Framework 1.0 临时解决方法: * 将Internet Explorer配置为在Internet和本地Intranet安全区域中运行ActiveX控件之前进行提示。 * 将Internet和本地intranet安全区设置为“高”以在运行ActiveX控件和活动脚本之前要求提示。 * 在Internet Explorer 7中禁用.Net控件。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS07-040)以及相应补丁: MS07-040:Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212) 链接:<a href="http://www.microsoft.com/technet/security/Bulletin/ms07-040.mspx?pf=true" target="_blank">http://www.microsoft.com/technet/security/Bulletin/ms07-040.mspx?pf=true</a> |
id | SSV:1988 |
last seen | 2017-11-19 |
modified | 2007-07-12 |
published | 2007-07-12 |
reporter | Root |
title | Microsoft .NET Framework PE加载器远程溢出漏洞(MS07-040) |
References
- http://archive.cert.uni-stuttgart.de/bugtraq/2007/07/msg00254.html
- http://osvdb.org/35954
- http://secunia.com/advisories/26003
- http://www.securityfocus.com/bid/24778
- http://www.securitytracker.com/id?1018356
- http://www.us-cert.gov/cas/techalerts/TA07-191A.html
- http://www.vupen.com/english/advisories/2007/2482
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-040
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34637
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2093