Vulnerabilities > CVE-2010-1902 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Microsoft products
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
Buffer overflow in Microsoft Office Word 2002 SP3, 2003 SP3, and 2007 SP2; Microsoft Office 2004 and 2008 for Mac; Open XML File Format Converter for Mac; Office Word Viewer; and Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats SP2 allows remote attackers to execute arbitrary code via unspecified properties in the data in a crafted RTF document, aka "Word RTF Parsing Buffer Overflow Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 8 |
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.
Msbulletin
bulletin_id | MS10-056 |
bulletin_url | |
date | 2010-08-10T00:00:00 |
impact | Remote Code Execution |
knowledgebase_id | 2269638 |
knowledgebase_url | |
severity | Critical |
title | Vulnerabilities in Microsoft Word Could Allow Remote Code Execution |
Nessus
NASL family Windows : Microsoft Bulletins NASL id SMB_NT_MS10-056.NASL description The remote Windows host is running a version of Microsoft Word or Word Viewer that is affected by several vulnerabilities. If an attacker can trick a user on the affected host into opening a specially crafted Word file, he could leverage this issue to execute arbitrary code subject to the user last seen 2020-06-01 modified 2020-06-02 plugin id 48293 published 2010-08-11 reporter This script is Copyright (C) 2010-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/48293 title MS10-056: Vulnerability in Microsoft Office Word Could Allow Remote Code Execution (2269638) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(48293); script_version("1.30"); script_cvs_date("Date: 2018/11/15 20:50:30"); script_cve_id( "CVE-2010-1900", "CVE-2010-1901", "CVE-2010-1902", "CVE-2010-1903" ); script_bugtraq_id( 42130, 42132, 42133, 42136 ); script_xref(name:"MSFT", value:"MS10-056"); script_xref(name:"MSKB", value:"2251389"); script_xref(name:"MSKB", value:"2251399"); script_xref(name:"MSKB", value:"2251419"); script_xref(name:"MSKB", value:"2251437"); script_xref(name:"MSKB", value:"2277947"); script_name(english:"MS10-056: Vulnerability in Microsoft Office Word Could Allow Remote Code Execution (2269638)"); script_summary(english:"Checks version of Word"); script_set_attribute( attribute:"synopsis", value: "Arbitrary code can be executed on the remote host through Microsoft Word." ); script_set_attribute( attribute:"description", value: "The remote Windows host is running a version of Microsoft Word or Word Viewer that is affected by several vulnerabilities. If an attacker can trick a user on the affected host into opening a specially crafted Word file, he could leverage this issue to execute arbitrary code subject to the user's privileges." ); script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2010/ms10-056"); script_set_attribute( attribute:"solution", value: "Microsoft has released a set of patches for Office XP, Word 2003, and Word Viewer." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploited_by_malware", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/10"); script_set_attribute(attribute:"patch_publication_date", value:"2010/08/10"); script_set_attribute(attribute:"plugin_publication_date", value:"2010/08/11"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:office"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:works"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:word"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:word_viewer"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:office_compatibility_pack"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows : Microsoft Bulletins"); script_copyright(english:"This script is Copyright (C) 2010-2018 Tenable Network Security, Inc."); script_dependencies("smb_nt_ms02-031.nasl", "office_installed.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("smb_func.inc"); include("smb_hotfixes.inc"); include("smb_hotfixes_fcheck.inc"); include("misc_func.inc"); include("audit.inc"); get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible"); bulletin = 'MS10-056'; kbs = make_list("2251389", "2251399", "2251419", "2251437", "2277947"); if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE); info = ""; vuln = 0; kb = ""; # Word. installs = get_kb_list("SMB/Office/Word/*/ProductPath"); if (!isnull(installs)) { foreach install (keys(installs)) { version = install - 'SMB/Office/Word/' - '/ProductPath'; path = installs[install]; if (isnull(path)) path = 'n/a'; ver = split(version, sep:'.', keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); # Word 2007. office_sp = get_kb_item("SMB/Office/2007/SP"); if ( (!isnull(office_sp) && office_sp == 2) && ( ver[0] == 12 && ver[1] == 0 && ( ver[2] < 6541 || (ver[2] == 6541 && ver[3] < 5000) ) ) ) { vuln++; info = '\n Product : Word 2007' + '\n File : ' + path + '\n Installed version : ' + version + '\n Fixed version : 12.0.6541.5000' + '\n'; kb = '2251419'; hotfix_add_report(info, bulletin:bulletin, kb:kb); } # Word 2003. office_sp = get_kb_item("SMB/Office/2003/SP"); if ( (!isnull(office_sp) && office_sp == 3) && (ver[0] == 11 && ver[1] == 0 && ver[2] < 8326) ) { vuln++; info = '\n Product : Word 2003' + '\n File : ' + path + '\n Installed version : ' + version + '\n Fixed version : 11.0.8326.0' + '\n'; kb = '2251399'; hotfix_add_report(info, bulletin:bulletin, kb:kb); } # Word 2002. office_sp = get_kb_item("SMB/Office/XP/SP"); if ( (!isnull(office_sp) && office_sp == 3) && (ver[0] == 10 && ver[1] == 0 && ver[2] < 6864) ) { vuln++; info = '\n Product : Word 2002' + '\n File : ' + path + '\n Installed version : ' + version + '\n Fixed version : 10.0.6864.0' + '\n'; kb = '2251389'; hotfix_add_report(info, bulletin:bulletin, kb:kb); } } } # Word Viewer. installs = get_kb_list("SMB/Office/WordViewer/*/ProductPath"); if (!isnull(installs)) { foreach install (keys(installs)) { version = isntall - 'SMB/Office/WordViewer/' - '/ProductPath'; path = installs[install]; ver = split(version, sep:'.', keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); # Word Viewer 2003. if (ver[0] == 11 && ver[1] == 0 && ver[2] < 8326) { vuln++; info = '\n Product : Word Viewer 2003' + '\n File : ' + path + '\n Installed version : ' + version + '\n Fixed version : 11.0.8326.0' + '\n'; kb = '2251437'; hotfix_add_report(info, bulletin:bulletin, kb:kb); } } } # 2007 Microsoft Office system and the Microsoft Office Compatibility Pack. share = ''; lastshare = ''; accessibleshare = FALSE; installs = get_kb_list("SMB/Ofice/WordCnv/*/ProductPath"); if (!isnull(installs)) { foreach install (keys(installs)) { version = install - 'SMB/Office/WordCnv/' - '/ProductPath'; path = installs[install]; share = hotfix_path2share(path:path); if (share != lastshare || !accessibleshare) { lastshare = share; if (!is_accessible_share(share:share)) accessibleshare = FALSE; else accessibleshare = TRUE; } if (accessibleshare) { path = path - 'Wordconv.exe'; if (hotfix_check_fversion(path:path, file:"wordcnv.dll", version:"12.0.6539.5000", bulletin:bulletin, kb:'2277947') == HCF_OLDER) { vuln++; } } } hotfix_check_fversion_end(); } if (vuln) { set_kb_item(name:'SMB/Missing/MS10-056', value:TRUE); hotfix_security_hole(); exit(0); } else audit(AUDIT_HOST_NOT, 'affected');
NASL family MacOS X Local Security Checks NASL id MACOSX_MS_OFFICE_AUG2010.NASL description The remote Mac OS X host is running a version of Microsoft Office that is affected by several vulnerabilities. If an attacker can trick a user on the affected host into opening a specially crafted Word or Excel file, these issues could be leveraged to execute arbitrary code subject to the user last seen 2019-10-28 modified 2010-10-20 plugin id 50067 published 2010-10-20 reporter This script is Copyright (C) 2010-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/50067 title MS10-056 / MS10-057: Vulnerabilities in Microsoft Office Could Allow Remote Code Execution (2269638 / 2269707) (Mac OS X) code #TRUSTED a0f6e3989354408ccc759af6c20a726e68cb6df8663c45d8e4cee3db1dd8fd39b8d3821bba657608cbd7d13eb255bd26f692287c5570066c5239c075fc777057cb54ba965d28bbdd17578925ce77b1593573241d7239d4260edc638889fcdecd0eb755667178cc6c9990f92db8ff09d913016b77c42398e596cfa53f13844f4952a93ba1d3d82d5bddb1741065ab38f662253fb82a8fc6705a6ea897289d54bec2a69f73ffd2dd93039203d8caa6201fcabc407242d43fcedb98fc514e12ef41b007a73e756ae3b42fa55b48e01d48afd9dfddc6c55325c47cb43419a933a18c319f23329fcd40cbe84c83068786f4ae507e468440918d71fde26b375f2617b725399879fd91dde91fe3d7fe0a1e4715587a2d1829219413a59872adc3f67a72d1f4e7c845e13a609db0f5db8e0b940e1f980a08f84297077a85db650ab75b2b200c60b5785ae64446ac8a1c907cd19200c5a8633c1e8451bc9b6d0bb28a4d9668c67c57b588cf82b35e87fcf7468d40455f23de8ce2e03aa96d9ae4ee9dd4198775c922af8ec5e1cbb2f971a0ced5c1431669fe096230c01eba2a98a35d39ffdeccbdb0c4cbb9a85b839f2718b18cf403a9969e17b9f4876509795352490bbb092137905b0496fe26ef5b99e2cf81c1a58f805b394747837d25c11eae774acf1126533b65d89b6a306b1244afb966b94d75e399979873d3cd65a35de2c52fe7 # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(50067); script_version("1.18"); script_set_attribute(attribute:"plugin_modification_date", value:"2018/07/14"); script_cve_id("CVE-2010-1900", "CVE-2010-1901", "CVE-2010-1902", "CVE-2010-2562"); script_bugtraq_id(42132, 42133, 42136, 42199); script_xref(name:"MSFT", value:"MS10-056"); script_xref(name:"MSFT", value:"MS10-057"); script_xref(name:"MSKB", value:"2269638"); script_xref(name:"MSKB", value:"2269707"); script_xref(name:"MSKB", value:"2284162"); script_xref(name:"MSKB", value:"2284171"); script_xref(name:"MSKB", value:"2284179"); script_name(english:"MS10-056 / MS10-057: Vulnerabilities in Microsoft Office Could Allow Remote Code Execution (2269638 / 2269707) (Mac OS X)"); script_summary(english:"Check version of Microsoft Office"); script_set_attribute(attribute:"synopsis", value: "An application installed on the remote Mac OS X host is affected by multiple remote code execution vulnerabilities."); script_set_attribute(attribute:"description", value: "The remote Mac OS X host is running a version of Microsoft Office that is affected by several vulnerabilities. If an attacker can trick a user on the affected host into opening a specially crafted Word or Excel file, these issues could be leveraged to execute arbitrary code subject to the user's privileges."); script_set_attribute(attribute:"see_also", value:"http://technet.microsoft.com/en-us/security/bulletin/ms10-056"); script_set_attribute(attribute:"see_also", value:"http://technet.microsoft.com/en-us/security/bulletin/ms10-057"); script_set_attribute(attribute:"solution", value: "Microsoft has released a set of patches for Office 2004 for Mac, Office 2008 for Mac, and Open XML File Format Converter for Mac."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploited_by_malware", value:"true"); script_set_attribute(attribute:"exploit_framework_core", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/10"); script_set_attribute(attribute:"patch_publication_date", value:"2010/08/10"); script_set_attribute(attribute:"plugin_publication_date", value:"2010/10/20"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:office:2004::mac"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:office:2008::mac"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:open_xml_file_format_converter:::mac"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"MacOS X Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2010-2018 Tenable Network Security, Inc."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/MacOSX/packages", "Host/uname"); exit(0); } include("misc_func.inc"); include("ssh_func.inc"); include("macosx_func.inc"); if(sshlib::get_support_level() >= sshlib::SSH_LIB_SUPPORTS_COMMANDS) enable_ssh_wrappers(); else disable_ssh_wrappers(); function exec(cmd) { local_var buf, ret; if (islocalhost()) buf = pread(cmd:"/bin/bash", argv:make_list("bash", "-c", cmd)); else { ret = ssh_open_connection(); if (!ret) exit(1, "ssh_open_connection() failed."); buf = ssh_cmd(cmd:cmd); ssh_close_connection(); } return buf; } packages = get_kb_item("Host/MacOSX/packages"); if (!packages) exit(1, "The 'Host/MacOSX/packages' KB item is missing."); uname = get_kb_item("Host/uname"); if (!uname) exit(1, "The 'Host/uname' KB item is missing."); if (!egrep(pattern:"Darwin.*", string:uname)) exit(1, "The host does not appear to be using the Darwin sub-system."); # Gather version info. info = ''; installs = make_array(); prod = 'Office 2008 for Mac'; plist = "/Applications/Microsoft Office 2008/Office/MicrosoftComponentPlugin.framework/Versions/12/Resources/Info.plist"; cmd = 'cat \'' + plist + '\' | ' + 'grep -A 1 CFBundleShortVersionString | ' + 'tail -n 1 | ' + 'sed \'s/.*string>\\(.*\\)<\\/string>.*/\\1/g\''; version = exec(cmd:cmd); if (version && version =~ "^[0-9]+\.") { version = chomp(version); if (version !~ "^12\.") exit(1, "Failed to get the version for "+prod+" - '"+version+"'."); installs[prod] = version; ver = split(version, sep:'.', keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); fixed_version = '12.2.6'; fix = split(fixed_version, sep:'.', keep:FALSE); for (i=0; i<max_index(fix); i++) fix[i] = int(fix[i]); for (i=0; i<max_index(fix); i++) if ((ver[i] < fix[i])) { info += '\n Product : ' + prod + '\n Installed version : ' + version + '\n Fixed version : ' + fixed_version + '\n'; break; } else if (ver[i] > fix[i]) break; } prod = 'Office 2004 for Mac'; cmd = GetCarbonVersionCmd(file:"Microsoft Component Plugin", path:"/Applications/Microsoft Office 2004/Office"); version = exec(cmd:cmd); if (version && version =~ "^[0-9]+\.") { version = chomp(version); if (version !~ "^11\.") exit(1, "Failed to get the version for "+prod+" - '"+version+"'."); installs[prod] = version; ver = split(version, sep:'.', keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); fixed_version = '11.6.0'; fix = split(fixed_version, sep:'.', keep:FALSE); for (i=0; i<max_index(fix); i++) fix[i] = int(fix[i]); for (i=0; i<max_index(fix); i++) if ((ver[i] < fix[i])) { info += '\n Product : ' + prod + '\n Installed version : ' + version + '\n Fixed version : ' + fixed_version + '\n'; break; } else if (ver[i] > fix[i]) break; } prod = 'Open XML File Format Converter for Mac'; plist = "/Applications/Open XML Converter.app/Contents/Info.plist"; cmd = 'cat \'' + plist + '\' | ' + 'grep -A 1 CFBundleShortVersionString | ' + 'tail -n 1 | ' + 'sed \'s/.*string>\\(.*\\)<\\/string>.*/\\1/g\''; version = exec(cmd:cmd); if (version && version =~ "^[0-9]+\.") { version = chomp(version); installs[prod] = version; ver = split(version, sep:'.', keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); fixed_version = '1.1.6'; fix = split(fixed_version, sep:'.', keep:FALSE); for (i=0; i<max_index(fix); i++) fix[i] = int(fix[i]); for (i=0; i<max_index(fix); i++) if ((ver[i] < fix[i])) { info += '\n Product : ' + prod + '\n Installed version : ' + version + '\n Fixed version : ' + fixed_version + '\n'; break; } else if (ver[i] > fix[i]) break; } # Report findings. if (info) { gs_opt = get_kb_item("global_settings/report_verbosity"); if (gs_opt && gs_opt != 'Quiet') security_hole(port:0, extra:info); else security_hole(0); exit(0); } else { if (max_index(keys(installs)) == 0) exit(0, "Office for Mac / Open XML File Format Converter is not installed."); else { msg = 'The host has '; foreach prod (sort(keys(installs))) msg += prod + ' ' + installs[prod] + ' and '; msg = substr(msg, 0, strlen(msg)-1-strlen(' and ')); msg += ' installed and thus is not affected.'; exit(0, msg); } }
Oval
accepted | 2014-06-30T04:00:09.891-04:00 | ||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||
description | Buffer overflow in Microsoft Office Word 2002 SP3, 2003 SP3, and 2007 SP2; Microsoft Office 2004 and 2008 for Mac; Open XML File Format Converter for Mac; Office Word Viewer; and Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats SP2 allows remote attackers to execute arbitrary code via unspecified properties in the data in a crafted RTF document, aka "Word RTF Parsing Buffer Overflow Vulnerability." | ||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||
id | oval:org.mitre.oval:def:11472 | ||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||
submitted | 2009-11-10T13:00:00 | ||||||||||||||||||||||||
title | Word RTF Parsing Buffer Overflow Vulnerability | ||||||||||||||||||||||||
version | 28 |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 42133 CVE ID: CVE-2010-1902 Word是微软Office套件中的文字处理工具。 在处理RTF文档中的某些绘图对象控制字时,Word未经长度检查便将属性值拷贝到了堆缓冲区上,触发堆溢出。成功利用此漏洞的攻击者可以获得与本地用户相同的权限。 Microsoft Office 2008 for Mac Microsoft Office 2004 for Mac Microsoft Word 2007 SP2 Microsoft Word 2003 SP3 Microsoft Word 2002 SP3 临时解决方法: * 以纯文本格式阅读电子邮件。 * 使用Microsoft Office文件阻止策略禁止打开来自未知或不可信来源和位置的RTF文档。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS10-056)以及相应补丁: MS10-056:Vulnerabilities in Microsoft Office Word Could Allow Remote Code Execution (2269638) 链接:http://www.microsoft.com/technet/security/bulletin/MS10-056.mspx?pf=true |
id | SSV:20042 |
last seen | 2017-11-19 |
modified | 2010-08-17 |
published | 2010-08-17 |
reporter | Root |
title | Microsoft Word RTF解析引擎堆溢出漏洞(MS10-056) |