Vulnerabilities > CVE-2010-0266 - Code Injection vulnerability in Microsoft Outlook 2002/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
exploit available
metasploit

Summary

Microsoft Office Outlook 2002 SP3, 2003 SP3, and 2007 SP1 and SP2 does not properly verify e-mail attachments with a PR_ATTACH_METHOD property value of ATTACH_BY_REFERENCE, which allows user-assisted remote attackers to execute arbitrary code via a crafted message, aka "Microsoft Outlook SMB Attachment Vulnerability."

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.

Exploit-Db

  • descriptionOutlook ATTACH_BY_REF_ONLY File Execution. CVE-2010-0266. Remote exploit for windows platform
    idEDB-ID:16700
    last seen2016-02-02
    modified2010-09-20
    published2010-09-20
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/16700/
    titleOutlook ATTACH_BY_REF_ONLY File Execution
  • descriptionOutlook ATTACH_BY_REF_RESOLVE File Execution. CVE-2010-0266. Remote exploit for windows platform
    idEDB-ID:16699
    last seen2016-02-02
    modified2010-09-20
    published2010-09-20
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/16699/
    titleOutlook ATTACH_BY_REF_RESOLVE File Execution

Metasploit

Msbulletin

bulletin_idMS10-045
bulletin_url
date2010-07-13T00:00:00
impactRemote Code Execution
knowledgebase_id978212
knowledgebase_url
severityImportant
titleVulnerability in Microsoft Outlook Could Allow Remote Code Execution

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS10-045.NASL
descriptionThe Outlook component of Microsoft Office has a remote code execution vulnerability. Opening an attachment in a specially crafted email can result in arbitrary code execution. A remote attacker could exploit this by sending a user an email and tricking them into opening a malicious attachment, resulting in code execution.
last seen2020-06-01
modified2020-06-02
plugin id47713
published2010-07-13
reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/47713
titleMS10-045: Vulnerability in Microsoft Office Outlook Could Allow Remote Code Execution (978212)
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(47713);
  script_version("1.24");
  script_cvs_date("Date: 2019/01/10 15:44:14");

  script_cve_id("CVE-2010-0266");
  script_bugtraq_id(41446);
  script_xref(name:"MSFT", value:"MS10-045");
  script_xref(name:"MSKB", value:"980371");

  script_name(english:"MS10-045: Vulnerability in Microsoft Office Outlook Could Allow Remote Code Execution (978212)");
  script_summary(english:"Checks version of Outlook");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The version of Microsoft Office installed on the remote Windows host
has a code execution vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The Outlook component of Microsoft Office has a remote code execution
vulnerability.  Opening an attachment in a specially crafted email can
result in arbitrary code execution.

A remote attacker could exploit this by sending a user an email and
tricking them into opening a malicious attachment, resulting in code
execution."
  );
  script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2010/ms10-045");
  script_set_attribute(
    attribute:"solution",
    value:
"Microsoft has released a set of patches for Office XP, 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:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Outlook ATTACH_BY_REF_RESOLVE File Execution');
  script_set_attribute(attribute:"exploit_framework_metasploit", 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:outlook");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows : Microsoft Bulletins");

  script_copyright(english:"This script is Copyright (C) 2010-2019 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-045';
kbs = make_list("980371");
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);

vuln = 0;
share = '';
lastshare = '';
accessibleshare = FALSE;
office_dirs = get_kb_list_or_exit("SMB/Office/Outlook/*/Path");
foreach install (keys(office_dirs))
{
  office_ver = install - 'SMB/Office/Outlook/' - '/Path';
  office_dir = office_dirs[install];

  share = hotfix_path2share(path:office_dir);
  if (share != lastshare || !accessibleshare)
  {
    lastshare = share;
    if (!is_accessible_share(share:share))
    {
      accessibleshare = FALSE;
    }
    else accessibleshare = TRUE;
  }
  if (accessibleshare)
  {
    if (
      # Outlook XP
      ('10.0' >< office_ver &&
      hotfix_is_vulnerable(file:"Outlook.exe", version:"10.0.6863.0", path:office_dir, bulletin:bulletin, kb:'980371')) ||

      # Outlook 2003
      ('11.0' >< office_ver &&
      hotfix_is_vulnerable(file:"Outlook.exe", version:"11.0.8325.0", path:office_dir, bulletin:bulletin, kb:'980373')) ||

      # Outlook 2007
      ('12.0' >< office_ver &&
      hotfix_is_vulnerable(file:"Outlook.exe", version:"12.0.6535.5005", path:office_dir, bulletin:bulletin, kb:'980376'))
    )
    {
      vuln++;
    }
  }
}
if (vuln)
{
  set_kb_item(name:'SMB/Missing/MS10-045', value:TRUE);
  hotfix_security_hole();
  hotfix_check_fversion_end();
  exit(0);
}
else
{
  hotfix_check_fversion_end();
  audit(AUDIT_HOST_NOT, 'affected');
}

Oval

accepted2012-05-28T04:00:08.336-04:00
classvulnerability
contributors
  • nameJosh Turpin
    organizationSymantec Corporation
  • nameShane Shaffer
    organizationG2, Inc.
definition_extensions
  • commentMicrosoft Outlook 2002 is installed
    ovaloval:org.mitre.oval:def:5179
  • commentMicrosoft Outlook 2003 is installed
    ovaloval:org.mitre.oval:def:5505
  • commentMicrosoft Outlook 2007 is installed
    ovaloval:org.mitre.oval:def:5352
descriptionMicrosoft Office Outlook 2002 SP3, 2003 SP3, and 2007 SP1 and SP2 does not properly verify e-mail attachments with a PR_ATTACH_METHOD property value of ATTACH_BY_REFERENCE, which allows user-assisted remote attackers to execute arbitrary code via a crafted message, aka "Microsoft Outlook SMB Attachment Vulnerability."
familywindows
idoval:org.mitre.oval:def:11623
statusaccepted
submitted2010-07-13T13:00:00
titleMicrosoft Outlook SMB Attachment Vulnerability
version8

Packetstorm

Saint

bid41446
descriptionMicrosoft Outlook SMB Attachment ATTACH_BY_REFERENCE vulnerability
idwin_patch_office2002atl,win_patch_office2003atl,win_patch_office2007atl
osvdb66296
titleoutlook_smb_attachment
typeclient

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 41446 CVE ID: CVE-2010-0266 Microsoft Outlook是Office套件所捆绑的邮件客户端。 Outlook客户端没有正确地验证邮件消息中使用PR_ATTACH_METHOD属性的ATTACH_BY_REFERENCE值所附加的邮件附件,恶意邮件可以伪装为没有安全威胁,诱骗用户错误的打开。 Microsoft Outlook 2007 SP2 Microsoft Outlook 2007 SP1 Microsoft Outlook 2003 SP2 Microsoft Outlook 2002 SP3 临时解决方法: * 不要打开来自不受信任来源的电子邮件附件。 * 禁用Web客户端服务,请按照以下步骤操作: 1. 单击“开始”,单击“运行”,键入“Services.msc”,然后单击“确定”。 2. 右键单击“Web客户端”服务,然后选择“属性”。 3. 将启动类型更改为“已禁用”。如果服务正在运行,请单击“停止”。 4. 单击“确定”,退出管理应用程序。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS10-045)以及相应补丁: MS10-045:Vulnerability in Microsoft Office Outlook Could Allow Remote Code Execution (978212) 链接:http://www.microsoft.com/technet/security/Bulletin/MS10-045.mspx?pf=true
idSSV:19958
last seen2017-11-19
modified2010-07-15
published2010-07-15
reporterRoot
titleMicrosoft Outlook SMB附件验证漏洞(MS10-045)