Vulnerabilities > CVE-2007-0064 - Buffer Errors vulnerability in Microsoft products

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
microsoft
CWE-119
critical
nessus

Summary

Heap-based buffer overflow in Windows Media Format Runtime 7.1, 9, 9.5, 9.5 x64 Edition, 11, and Windows Media Services 9.1 for Microsoft Windows 2000, XP, Server 2003, and Vista allows user-assisted remote attackers to execute arbitrary code via a crafted Advanced Systems Format (ASF) file.

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 familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS07-068.NASL
descriptionThe remote host is running Windows Media Player/Service. There is a vulnerability in the remote version of this software that could allow an attacker to execute arbitrary code on the remote host. To exploit this flaw, one attacker would need to set up a rogue ASF file and send it to a victim on the remote host.
last seen2020-06-01
modified2020-06-02
plugin id29312
published2007-12-11
reporterThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/29312
titleMS07-068: Vulnerability in Windows Media File Format Could Allow Remote Code Execution (941569 / 944275)
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(29312);
 script_version("1.30");
 script_cvs_date("Date: 2018/11/15 20:50:30");

 script_cve_id("CVE-2007-0064");
 script_bugtraq_id(26776);
 script_xref(name:"IAVA", value:"2007-A-0056");
 script_xref(name:"MSFT", value:"MS07-068");
 script_xref(name:"MSKB", value:"941569");
 script_xref(name:"MSKB", value:"944275");
 
 script_xref(name:"CERT", value:"319385");

 script_name(english:"MS07-068: Vulnerability in Windows Media File Format Could Allow Remote Code Execution (941569 / 944275)");
 script_summary(english:"Checks the version of Media Format");

 script_set_attribute(attribute:"synopsis", value:
"Arbitrary code can be executed on the remote host through the Media
File Format.");
 script_set_attribute(attribute:"description", value:
"The remote host is running Windows Media Player/Service.

There is a vulnerability in the remote version of this software that
could allow an attacker to execute arbitrary code on the remote host.

To exploit this flaw, one attacker would need to set up a rogue ASF file
and send it to a victim on the remote host.");
 script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2007/ms07-068");
 script_set_attribute(attribute:"solution", value:
"Microsoft has released a set of patches for Windows 2000, XP, 2003 and
Vista.");
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"false");
 script_cwe_id(119);

 script_set_attribute(attribute:"vuln_publication_date", value:"2007/12/11");
 script_set_attribute(attribute:"patch_publication_date", value:"2007/12/11");
 script_set_attribute(attribute:"plugin_publication_date", value:"2007/12/11");

 script_set_attribute(attribute:"plugin_type", value:"local");
 script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:windows_media_format_runtime");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:windows_media_services");
 script_set_attribute(attribute:"stig_severity", value:"II");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");
 script_family(english:"Windows : Microsoft Bulletins");

 script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
 script_require_keys("SMB/MS_Bulletin_Checks/Possible");
 script_require_ports(139, 445, 'Host/patch_management_checks');
 exit(0);
}


include("audit.inc");
include("smb_func.inc");
include("smb_hotfixes.inc");
include("smb_hotfixes_fcheck.inc");
include("misc_func.inc");

get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

bulletin = 'MS07-068';
kbs = make_list("941569", "944275");
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);

get_kb_item_or_exit("SMB/Registry/Enumerated");
get_kb_item_or_exit("SMB/WindowsVersion", exit_code:1);

if (hotfix_check_sp_range(win2k:'4,5', xp:'2,3', win2003:'1,2', vista:'0') <= 0) audit(AUDIT_OS_SP_NOT_VULN);

rootfile = hotfix_get_systemroot();
if (!rootfile) exit(1, "Failed to get the system root.");

share = hotfix_path2share(path:rootfile);
if (!is_accessible_share(share:share)) audit(AUDIT_SHARE_FAIL, share);

if (
  hotfix_is_vulnerable(os:"6.0", file:"wmasf.dll", version:"11.0.6000.6345", min_version:"11.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||

  hotfix_is_vulnerable(os:"5.2", sp:1, file:"wmsserver.dll", version:"9.1.1.3844", min_version:"9.0.0.0", dir:"\system32", bulletin:bulletin, kb:'944275') ||
  hotfix_is_vulnerable(os:"5.2", sp:2, file:"wmsserver.dll", version:"9.1.1.3862", min_version:"9.0.0.0", dir:"\system32", bulletin:bulletin, kb:'944275') ||
  hotfix_is_vulnerable(os:"5.2", sp:1, arch:"x86", file:"wmasf.dll", version:"10.0.0.3710", min_version:"10.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||
  hotfix_is_vulnerable(os:"5.2", sp:2, arch:"x86", file:"wmasf.dll", version:"10.0.0.4000", min_version:"10.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||
  hotfix_is_vulnerable(os:"5.2", sp:1, arch:"x64", file:"wwmasf.dll", version:"10.0.0.3710", min_version:"10.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||
  hotfix_is_vulnerable(os:"5.2", sp:2, arch:"x64", file:"wwmasf.dll", version:"10.0.0.4000", min_version:"10.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||
  hotfix_is_vulnerable(os:"5.2", arch:"x64", file:"wmasf.dll", version:"10.0.0.3811", min_version:"10.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||

  hotfix_is_vulnerable(os:"5.1", file:"wmasf.dll", version:"9.0.0.3267", min_version:"9.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||
  hotfix_is_vulnerable(os:"5.1", file:"wmasf.dll", version:"10.0.0.4060", min_version:"10.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||
  hotfix_is_vulnerable(os:"5.1", file:"wmasf.dll", version:"11.0.5721.5238", min_version:"11.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||

  hotfix_is_vulnerable(os:"5.0", file:"wmasf.dll", version:"7.10.0.3081", min_version:"7.10.0.0", dir:"\system32", bulletin:bulletin, kb:'941569') ||
  hotfix_is_vulnerable(os:"5.0", file:"wmasf.dll", version:"9.0.0.3267", min_version:"9.0.0.0", dir:"\system32", bulletin:bulletin, kb:'941569')
)
{
  set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
  hotfix_security_hole();
  hotfix_check_fversion_end();
  exit(0);
}
else
{
  hotfix_check_fversion_end();
  audit(AUDIT_HOST_NOT, 'affected');
}

Oval

accepted2015-08-10T04:00:58.395-04:00
classvulnerability
contributors
  • nameJeff Ito
    organizationSecure Elements, Inc.
  • nameChandan S
    organizationSecPod Technologies
  • nameMaria Mikhno
    organizationALTX-SOFT
definition_extensions
  • commentWindows Media Format Runtime 7.1 is installed
    ovaloval:org.mitre.oval:def:29073
  • commentWindows Media Format Runtime 9.0 is installed
    ovaloval:org.mitre.oval:def:29023
  • commentWindows Media Format Runtime 9.5 is installed
    ovaloval:org.mitre.oval:def:28835
  • commentMicrosoft Windows XP SP2 or later is installed
    ovaloval:org.mitre.oval:def:521
  • commentMicrosoft Windows Server 2003 SP1 (x86) is installed
    ovaloval:org.mitre.oval:def:565
  • commentMicrosoft Windows Server 2003 (x64) is installed
    ovaloval:org.mitre.oval:def:730
  • commentWindows Media Format Runtime 9.5 is installed
    ovaloval:org.mitre.oval:def:28835
  • 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
  • commentWindows Media Format Runtime 9.5 is installed
    ovaloval:org.mitre.oval:def:28835
  • commentMicrosoft Windows XP SP2 or later is installed
    ovaloval:org.mitre.oval:def:521
  • commentMicrosoft Windows XP SP1 (64-bit) is installed
    ovaloval:org.mitre.oval:def:480
  • commentMicrosoft Windows XP x64 Edition SP2 is installed
    ovaloval:org.mitre.oval:def:4193
  • commentWindows Media Format Runtime 11 is installed
    ovaloval:org.mitre.oval:def:28129
  • commentMicrosoft Windows Vista is installed
    ovaloval:org.mitre.oval:def:228
  • commentWindows Media Format Runtime 11 is installed
    ovaloval:org.mitre.oval:def:28129
  • commentMicrosoft Windows Server 2003 SP1 (x86) is installed
    ovaloval:org.mitre.oval:def:565
  • commentMicrosoft Windows Server 2003 (x64) is installed
    ovaloval:org.mitre.oval:def:730
  • commentWindows Media Format Runtime 9.1 is installed
    ovaloval:org.mitre.oval:def:28581
  • 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
  • commentWindows Media Format Runtime 9.1 is installed
    ovaloval:org.mitre.oval:def:28581
descriptionHeap-based buffer overflow in Windows Media Format Runtime 7.1, 9, 9.5, 9.5 x64 Edition, 11, and Windows Media Services 9.1 for Microsoft Windows 2000, XP, Server 2003, and Vista allows user-assisted remote attackers to execute arbitrary code via a crafted Advanced Systems Format (ASF) file.
familywindows
idoval:org.mitre.oval:def:3622
statusaccepted
submitted2007-12-13T18:02:00
titleWindows Media Format Remote Code Execution Vulnerability
version73

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 26776 CVE ID:CVE-2007-0064 CNCVE ID:CNCVE-20070064 Windows Media Format Runtime是一款windows media player10播放器的插件。 windows media player10 播放器的插件处理.ASF文件存在缓冲区溢出,远程攻击者可以利用漏洞以应用程序进程权限执行任意指令。 ASF文件格式由Windows Media Player处理,这个文件格式包含3个必要的头对象和流属性条目(Stream Property entries),Stream Property entries存在4个漏洞: -Audio_conceal_none条目,此条目相应的条目长度是一个任意短整数,可能构建任意长度值,在部分增加和截断后,会导致小缓冲区分配,如果遇到大的拷贝可导致堆溢出而允许任意代码执行。(XFID 38828-http://www.iss.net/threats/279.html) -Degradable JPEG Media条目,这个条目此条目相应的条目长度是一个任意短整数,可能构建任意长度值,在部分增加和截断后,会导致小缓冲区分配,如果遇到大的拷贝可导致堆溢出而允许任意代码执行(XFID 38827 - http://www.iss.net/threats/279.html)。 -Error correction条目,这个条目此条目相应的条目长度是一个任意短整数,可能构建任意长度值,在部分增加和截断后,会导致小缓冲区分配,如果遇到大的拷贝可导致堆溢出而允许任意代码执行(XFID 38829 - http://www.iss.net/threats/279.html)。 -Stream Property entries也包含特定类型长度和一个错误修正数据长度,在这些整数上进行算术运算为了获得要分配内存块的大小。如果两个长度大小过大,可导致发生内存溢出而执行任意代码。 Microsoft Windows Media Services 9.1 x64 + Microsoft Windows Server 2003 Datacenter Edition + Microsoft Windows Server 2003 Datacenter Edition Itanium 0 + Microsoft Windows Server 2003 Enterprise Edition + Microsoft Windows Server 2003 Enterprise Edition Itanium 0 + Microsoft Windows Server 2003 Standard Edition Microsoft Windows Media Services 9.1 + Microsoft Windows Server 2003 Datacenter Edition + Microsoft Windows Server 2003 Datacenter Edition Itanium 0 + Microsoft Windows Server 2003 Enterprise Edition + Microsoft Windows Server 2003 Enterprise Edition Itanium 0 + Microsoft Windows Server 2003 Standard Edition Microsoft Windows Media Format 9.5 x64 Microsoft Windows Media Format 9.5 Microsoft Windows Media Format 9.0 Microsoft Windows Media Format 7.1 Microsoft Windows Media Format 11 补丁安装: Microsoft Windows Media Services 9.1 Microsoft Security Update for Windows Server 2003 (KB944275) - English Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=096711d4-ce01 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=096711d4-ce01</a> -45d0-9c2d-ebfa5c671b9f&amp;displaylang=en Microsoft Windows Media Format 11 Microsoft Security Update for Windows Media Format 11 Series for Windows XP x64 Edition (KB941569) Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=1037b224-ac89 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=1037b224-ac89</a> -4efd-b189-6f3da77a88e6&amp;displaylang=en Microsoft Security Update for Windows Server 2003 (KB944275) - English Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=096711d4-ce01 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=096711d4-ce01</a> -45d0-9c2d-ebfa5c671b9f&amp;displaylang=en Microsoft Security Update for Windows Vista (KB941569) Windows Vista <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=9a98ef96-bc2e target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=9a98ef96-bc2e</a> -42b7-9a24-c82c8fb379db&amp;displaylang=en Microsoft Security Update for Windows Vista for x64-based Systems (KB941569) - English Windows Vista x64 Edition <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=3ce02c95-d695 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=3ce02c95-d695</a> -4f14-9fb3-30c83a9cfb9c&amp;displaylang=en Microsoft Security Update for Windows XP (KB941569) Windows XP Service Pack 2 &amp; Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=bece702a-6e61 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=bece702a-6e61</a> -433e-8275-20f4e84f2c92&amp;displaylang=en Microsoft Windows Media Format 9.0 Microsoft Security Update for Windows 2000 (KB941569) Microsoft Windows 2000 Service Pack 4 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=eecdf2ce-9aa7 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=eecdf2ce-9aa7</a> -4f0c-b62b-2fa7a32f369e&amp;displaylang=en Microsoft Security Update for Windows XP (KB941569) Windows XP Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=bece702a-6e61 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=bece702a-6e61</a> -433e-8275-20f4e84f2c92&amp;displaylang=en Microsoft Windows Media Format 9.5 x64 Microsoft Security Update for Windows Media Format 11 Series for Windows XP x64 Edition (KB941569) Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=1037b224-ac89 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=1037b224-ac89</a> -4efd-b189-6f3da77a88e6&amp;displaylang=en Microsoft Security Update for Windows Media Format 9.5 Series x64 Edition (KB941569) Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=72d2ca0e-da81 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=72d2ca0e-da81</a> -45ee-9321-4970b80f4a5a&amp;displaylang=en Microsoft Windows Media Services 9.1 x64 Microsoft Security Update for Windows Server 2003 x64 Edition (KB944275) Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=23c23800-5aaa target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=23c23800-5aaa</a> -455b-96bf-4ead4dfdd95d&amp;displaylang=en Microsoft Windows Media Format 7.1 Microsoft Security Update for Windows 2000 (KB941569) Microsoft Windows 2000 Service Pack 4 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=eecdf2ce-9aa7 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=eecdf2ce-9aa7</a> -4f0c-b62b-2fa7a32f369e&amp;displaylang=en Microsoft Windows Media Format 9.5 Microsoft Security Update for Windows Server 2003 (KB941569) Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=8fea7da8-a7f3 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=8fea7da8-a7f3</a> -4786-97c2-fb5ea7018159&amp;displaylang=en Microsoft Security Update for Windows Server 2003 x64 Edition (KB941569) Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=ffc69c76-02f1 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=ffc69c76-02f1</a> -4b15-8ec1-dab8c7e33bd4&amp;displaylang=en Microsoft Security Update for Windows XP (KB941569) Windows XP Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=bece702a-6e61 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=bece702a-6e61</a> -433e-8275-20f4e84f2c92&amp;displaylang=en Microsoft Security Update for Windows XP x64 Edition (KB941569) Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=81f20b45-dfc7 target=_blank>http://www.microsoft.com/downloads/details.aspx?FamilyID=81f20b45-dfc7</a> -4ddf-a4b4-6c0e9476ed51&amp;displaylang=en
idSSV:2588
last seen2017-11-19
modified2007-12-13
published2007-12-13
reporterRoot
titleMicrosoft Windows Media格式实时ASF文件远程代码执行漏洞