Vulnerabilities > CVE-2010-0814 - Code Injection vulnerability in Microsoft Access 2003/2007

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-94
critical
nessus

Summary

The Microsoft Access Wizard Controls in ACCWIZ.dll in Microsoft Office Access 2003 SP3 and 2007 SP1 and SP2 do not properly interact with the memory-allocation approach used by Internet Explorer during instantiation, which allows remote attackers to execute arbitrary code via a web site that references multiple ActiveX controls, as demonstrated by the ImexGrid and FieldList controls, aka "Access ActiveX Control Vulnerability."

Vulnerable Configurations

Part Description Count
Application
Microsoft
6

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Msbulletin

bulletin_idMS10-044
bulletin_url
date2010-07-13T00:00:00
impactRemote Code Execution
knowledgebase_id982335
knowledgebase_url
severityCritical
titleVulnerabilities in Microsoft Access ActiveX Controls Could Allow Remote Code Execution

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS10-044.NASL
descriptionThe Access component of Microsoft Office has one or more vulnerable ActiveX controls installed. An attacker could exploit these issues by tricking a user into requesting a malicious web page, resulting in arbitrary code execution.
last seen2020-06-01
modified2020-06-02
plugin id47712
published2010-07-13
reporterThis script is Copyright (C) 2010-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/47712
titleMS10-044: Vulnerabilities in Microsoft Office Access ActiveX Controls Could Allow Remote Code Execution (982335)
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


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

  script_cve_id("CVE-2010-0814", "CVE-2010-1881");
  script_bugtraq_id(41442, 41444);
  script_xref(name:"MSFT", value:"MS10-044");
  script_xref(name:"IAVA", value:"2010-A-0094");
  script_xref(name:"MSKB", value:"981716");

  script_name(english:"MS10-044: Vulnerabilities in Microsoft Office Access ActiveX Controls Could Allow Remote Code Execution (982335)");
  script_summary(english:"Checks version of Msaccess.exe");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The version of Microsoft Office on the remote Windows host has
multiple code execution vulnerabilities."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The Access component of Microsoft Office has one or more vulnerable
ActiveX controls installed.  An attacker could exploit these issues by
tricking a user into requesting a malicious web page, resulting in
arbitrary code execution."
  );
  script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2010/ms10-044");
  script_set_attribute(attribute:"solution", value:"Microsoft has released a set of patches for Office 2003 and 2007.");
  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/07/13");
  script_set_attribute(attribute:"patch_publication_date", value:"2010/07/13");
  script_set_attribute(attribute:"plugin_publication_date", value:"2010/07/13");

  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:access");
  script_set_attribute(attribute:"stig_severity", value:"II");
  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_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("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-044';
kbs = make_list("981716");
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);

access_dirs = get_kb_list_or_exit("SMB/Office/Access/*/Path");

get_kb_item_or_exit('SMB/WindowsVersion');

share = '';
lastshare = '';
accessibleshare = FALSE;
foreach install (keys(access_dirs))
{
  access_ver = install - 'SMB/Office/Access/' - '/Path';
  access_dir = access_dirs[install];
  share = hotfix_path2share(path:access_dir);
  if (share != lastshare || !accessibleshare)
  {
    lastshare = share;
    if (!is_accessible_share(share:share))
    {
      accessibleshare = FALSE;
    }
    else accessibleshare = TRUE;
  }
  if (accessibleshare)
  {
    if (
      # Outlook 2003
      (
        '11.0' >< access_ver &&
        hotfix_is_vulnerable(file:"Msaccess.exe", version:"11.0.8321.0", min_version:"11.0.0.0", path:access_dir, bulletin:bulletin, kb:"981716")
      ) ||

      # Outlook 2007
      (
        '12.0' >< access_ver &&
        hotfix_is_vulnerable(file:"Msaccess.exe", version:"12.0.6535.5005", min_version:"12.0.0.0", path:access_dir, bulletin:bulletin, kb:"979440")
      )
    )
    {
      vuln++;
    }
  }
}
hotfix_check_fversion_end();
if (vuln)
{
  set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
  hotfix_security_hole();
  exit(0);
}
else audit(AUDIT_HOST_NOT, 'affected');

Oval

accepted2013-12-16T04:00:06.177-05:00
classvulnerability
contributors
  • nameDragos Prisaca
    organizationSymantec Corporation
  • nameShane Shaffer
    organizationG2, Inc.
  • nameMaria Kedovskaya
    organizationALTX-SOFT
definition_extensions
commentMicrosoft Access 2007 is installed
ovaloval:org.mitre.oval:def:11588
descriptionThe Microsoft Access Wizard Controls in ACCWIZ.dll in Microsoft Office Access 2003 SP3 and 2007 SP1 and SP2 do not properly interact with the memory-allocation approach used by Internet Explorer during instantiation, which allows remote attackers to execute arbitrary code via a web site that references multiple ActiveX controls, as demonstrated by the ImexGrid and FieldList controls, aka "Access ActiveX Control Vulnerability."
familywindows
idoval:org.mitre.oval:def:11907
statusaccepted
submitted2010-07-13T13:00:00
titleAccess ActiveX Control Vulnerability
version10

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 41442 CVE ID: CVE-2010-0814 Microsoft Access是微软Office套件中的关系数据库管理系统。 在以特定的顺序实例化ACCWIZ.dll库所提供的ImexGrid和FieldList等ActiveX控件时,执行流可能会进入到未分配的内存区域,导致以当前用户的权限执行任意代码。 Microsoft Access 2007 SP2 Microsoft Access 2007 SP1 Microsoft Access 2003 SP3 临时解决方法: * 禁止在Internet Explorer中运行COM对象。要为值为{53230327-172B-11D0-AD40-00A0C90DC8D9}和 {53230322-172B-11d0-AD40-00A0C90DC8D9}的CLSID设置 kill bit,请在文本编辑器(如Notepad)中粘贴以下文本,然后使用.reg文件扩展名保存文件。 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{53230327-172B-11D0-AD40-00A0C90DC8D9}] "Compatibility Flags"=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{53230322-172B-11d0-AD40-00A0C90DC8D9}] "Compatibility Flags"=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{53230327-172B-11D0-AD40-00A0C90DC8D9}] "Compatibility Flags"=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{53230322-172B-11d0-AD40-00A0C90DC8D9}] "Compatibility Flags"=dword:00000400 * 将Internet Explorer配置为在Internet和本地Intranet安全区域中运行ActiveX控件和活动脚本之前进行提示。 * 将Internet和本地Intranet安全区域设置设为“高”,以便在这些区域中运行ActiveX控件和活动脚本之前进行提示。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS10-044)以及相应补丁: MS10-044:Vulnerabilities in Microsoft Office Access ActiveX Controls Could Allow Remote Code Execution (982335) 链接:http://www.microsoft.com/technet/security/Bulletin/MS10-044.mspx?pf=true
idSSV:19959
last seen2017-11-19
modified2010-07-15
published2010-07-15
reporterRoot
titleMicrosoft Access ActiveX控件实例化远程代码执行漏洞(MS10-044)