Vulnerabilities > CVE-2007-3895 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Microsoft Directx
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Buffer overflow in Microsoft DirectShow in Microsoft DirectX 7.0 through 10.0 allows remote attackers to execute arbitrary code via a crafted (1) WAV or (2) AVI file.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 12 | |
Application | 4 |
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 : Microsoft Bulletins |
NASL id | SMB_NT_MS07-064.NASL |
description | The remote host contains a version of DirectX that is vulnerable to a remote code execution attack. To exploit this flaw, an attacker would need to send a malformed AVI, WMV or SAMI file to a user on the remote host and have him open it. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 29308 |
published | 2007-12-11 |
reporter | This script is Copyright (C) 2007-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/29308 |
title | MS07-064: Vulnerabilities in DirectX Could Allow Remote Code Execution (941568) |
code |
|
Oval
accepted | 2013-04-15T04:00:21.182-04:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
description | Buffer overflow in Microsoft DirectShow in Microsoft DirectX 7.0 through 10.0 allows remote attackers to execute arbitrary code via a crafted (1) WAV or (2) AVI file. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:4287 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||||||||||||||||||||||
submitted | 2007-12-13T20:49:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
title | Microsoft DirectX Code Execution Vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||
version | 74 |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 26804,26789 CVE(CAN) ID: CVE-2007-3901,CVE-2007-3895 Microsoft DirectX是Windows操作系统中的一项功能,流媒体在玩游戏或观看视频时通过这个功能支持图形和声音。 Microsoft DirectX处理畸形格式的媒体文件时存在漏洞,本地攻击者可能利用此漏洞提升自己的权限。 集成DirectX技术的Microsoft DirectShow没有对Synchronized Accessible Media Interchange(SAMI)文件类型参数和WAV、AVI文件类型参数执行充分的分析。如果用户在DirectX中打开用于流式媒体的特制文件,这些漏洞就可能允许执行代码。如果用户使用管理用户权限登录,成功利用此漏洞的攻击者便可完全控制受影响的系统。攻击者可随后安装程序;查看、更改或删除数据;或者创建拥有完全用户权限的新帐户。那些帐户被配置为拥有较少系统用户权限的用户比具有管理用户权限的用户受到的影响要小。 Microsoft DirectX 9.0 c Microsoft DirectX 8.1 Microsoft DirectX 7.0 Microsoft DirectX 10.0 临时解决方法: * 修改quartz.dll的访问控制列表 在Windows XP(所有版本)上,通过命令提示符运行以下命令: Echo y| Cacls.exe %WINDIR%\SYSTEM32\QUARTZ.DLL /E /P everyone:N 在Windows Vista(所有版本)上,通过提命令提示符运行以下命令: Takeown.exe /f %WINDIR%\SYSTEM32\QUARTZ.DLL Icacls.exe %WINDIR%\SYSTEM32\QUARTZ.DLL /save %TEMP%\QUARTZ_ACL.TXT Icacls.exe %WINDIR%\SYSTEM32\QUARTZ.DLL /deny everyone:(F) * 注销quartz.dll Regsvr32.exe –u %WINDIR%\SYSTEM32\QUARTZ.DLL 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS07-064)以及相应补丁: MS07-064:Vulnerabilities in DirectX Could Allow Remote Code Execution (941568) 链接:<a href=http://www.microsoft.com/technet/security/Bulletin/MS07-064.mspx?pf=true target=_blank>http://www.microsoft.com/technet/security/Bulletin/MS07-064.mspx?pf=true</a> |
id | SSV:2583 |
last seen | 2017-11-19 |
modified | 2007-12-13 |
published | 2007-12-13 |
reporter | Root |
title | Microsoft DirectX SAMI及WAV/AVI文件解析远程代码执行漏洞(MS07-064) |
References
- http://secunia.com/advisories/28010
- http://www.securityfocus.com/bid/26804
- http://www.securitytracker.com/id?1019073
- http://www.iss.net/threats/280.html
- http://www.us-cert.gov/cas/techalerts/TA07-345A.html
- http://www.kb.cert.org/vuls/id/321233
- http://www.vupen.com/english/advisories/2007/4180
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38722
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4287
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-064
- http://www.securityfocus.com/archive/1/485268/100/0/threaded