ID CVE-2007-3901
Summary Stack-based buffer overflow in the DirectShow Synchronized Accessible Media Interchange (SAMI) parser in quartz.dll for Microsoft DirectX 7.0 through 10.0 allows remote attackers to execute arbitrary code via a crafted SAMI file.
References
Vulnerable Configurations
  • cpe:2.3:o:microsoft:windows_2000:-:advanced_server
    cpe:2.3:o:microsoft:windows_2000:-:advanced_server
  • cpe:2.3:o:microsoft:windows_2000:-:datacenter_server
    cpe:2.3:o:microsoft:windows_2000:-:datacenter_server
  • cpe:2.3:o:microsoft:windows_2000:-:professional
    cpe:2.3:o:microsoft:windows_2000:-:professional
  • cpe:2.3:o:microsoft:windows_2000:-:server
    cpe:2.3:o:microsoft:windows_2000:-:server
  • cpe:2.3:o:microsoft:windows_2003_server:datacenter_edition
    cpe:2.3:o:microsoft:windows_2003_server:datacenter_edition
  • cpe:2.3:o:microsoft:windows_2003_server:enterprise_edition
    cpe:2.3:o:microsoft:windows_2003_server:enterprise_edition
  • cpe:2.3:o:microsoft:windows_2003_server:standard
    cpe:2.3:o:microsoft:windows_2003_server:standard
  • cpe:2.3:o:microsoft:windows_2003_server:web_edition
    cpe:2.3:o:microsoft:windows_2003_server:web_edition
  • Microsoft Windows Vista
    cpe:2.3:o:microsoft:windows_vista
  • cpe:2.3:o:microsoft:windows_xp:-:home
    cpe:2.3:o:microsoft:windows_xp:-:home
  • cpe:2.3:o:microsoft:windows_xp:-:professional
    cpe:2.3:o:microsoft:windows_xp:-:professional
  • Microsoft DirectX 5.2
    cpe:2.3:a:microsoft:directx:5.2
  • Microsoft DirectX 6.1
    cpe:2.3:a:microsoft:directx:6.1
  • Microsoft DirectX 7.0
    cpe:2.3:a:microsoft:directx:7.0
  • Microsoft DirectX 7.0a
    cpe:2.3:a:microsoft:directx:7.0a
  • Microsoft DirectX 7.1
    cpe:2.3:a:microsoft:directx:7.1
  • Microsoft DirectX 8.0
    cpe:2.3:a:microsoft:directx:8.0
  • Microsoft DirectX 8.0a
    cpe:2.3:a:microsoft:directx:8.0a
  • Microsoft DirectX 8.1
    cpe:2.3:a:microsoft:directx:8.1
  • Microsoft DirectX 8.1a
    cpe:2.3:a:microsoft:directx:8.1a
  • Microsoft DirectX 8.1b
    cpe:2.3:a:microsoft:directx:8.1b
  • Microsoft DirectX 8.2
    cpe:2.3:a:microsoft:directx:8.2
  • Microsoft DirectX 9.0a
    cpe:2.3:a:microsoft:directx:9.0a
  • Microsoft DirectX 9.0b
    cpe:2.3:a:microsoft:directx:9.0b
  • Microsoft DirectX 9.0c
    cpe:2.3:a:microsoft:directx:9.0c
  • Microsoft DirectX 10.0
    cpe:2.3:a:microsoft:directx:10.0
CVSS
Base: 8.5 (as of 12-12-2007 - 09:00)
Impact:
Exploitability:
CWE CWE-119
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.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM SINGLE_INSTANCE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
exploit-db via4
  • description Microsoft DirectX SAMI File Parsing Remote Stack Overflow Exploit. CVE-2007-3901. Remote exploit for windows platform
    file exploits/windows/remote/4866.py
    id EDB-ID:4866
    last seen 2016-01-31
    modified 2008-01-08
    platform windows
    port
    published 2008-01-08
    reporter ryujin
    source https://www.exploit-db.com/download/4866/
    title Microsoft DirectX SAMI File Parsing - Remote Stack Overflow Exploit
    type remote
  • description Microsoft DirectX DirectShow SAMI Buffer Overflow. CVE-2007-3901. Remote exploit for windows platform
    id EDB-ID:16442
    last seen 2016-02-01
    modified 2010-10-05
    published 2010-10-05
    reporter metasploit
    source https://www.exploit-db.com/download/16442/
    title Microsoft DirectX DirectShow SAMI Buffer Overflow
metasploit via4
description This module exploits a stack buffer overflow in the DirectShow Synchronized Accessible Media Interchanged (SAMI) parser in quartz.dll. This module has only been tested with Windows Media Player (6.4.09.1129) and DirectX 8.0.
id MSF:EXPLOIT/WINDOWS/MISC/MS07_064_SAMI
last seen 2019-03-30
modified 2017-07-24
published 2008-01-12
reliability Normal
reporter Rapid7
source https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/misc/ms07_064_sami.rb
title MS07-064 Microsoft DirectX DirectShow SAMI Buffer Overflow
nessus via4
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 2019-02-21
modified 2018-11-15
plugin id 29308
published 2007-12-11
reporter Tenable
source https://www.tenable.com/plugins/index.php?view=single&id=29308
title MS07-064: Vulnerabilities in DirectX Could Allow Remote Code Execution (941568)
oval via4
accepted 2013-04-15T04:00:23.105-04:00
class vulnerability
contributors
  • name Jeff Ito
    organization Secure Elements, Inc.
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment Microsoft Windows 2000 SP4 or later is installed
    oval oval:org.mitre.oval:def:229
  • comment Microsoft Windows 2000 SP4 or later is installed
    oval oval:org.mitre.oval:def:229
description Stack-based buffer overflow in the DirectShow Synchronized Accessible Media Interchange (SAMI) parser in quartz.dll for Microsoft DirectX 7.0 through 10.0 allows remote attackers to execute arbitrary code via a crafted SAMI file.
family windows
id oval:org.mitre.oval:def:4520
status accepted
submitted 2007-12-14T18:18:00
title Microsoft DirectX Code Execution Vulnerability
version 68
packetstorm via4
refmap via4
bid 26789
cert TA07-345A
cert-vn VU#804089
exploit-db 4866
hp
  • HPSBST02299
  • SSRT071506
idefense 20071211 Microsoft DirectX 7 and 8 DirectShow Stack Buffer Overflow Vulnerability
iss 20071211 Multiple Microsoft DirectShow Remote Code Execution Vulnerabilities
ms MS07-064
sectrack 1019073
secunia 28010
vupen ADV-2007-4180
xf ms-directshow-sami-code-execution(38721)
saint via4
bid 26789
description Microsoft DirectX SAMI parser buffer overflow
id win_patch_directxrce
osvdb 39126
title microsoft_directx_sami
type client
Last major update 18-04-2011 - 00:00
Published 11-12-2007 - 19:46
Last modified 15-10-2018 - 17:32
Back to Top