Vulnerabilities > CVE-2010-0479 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Microsoft Publisher 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-119
critical
nessus

Summary

Buffer overflow in Microsoft Office Publisher 2002 SP3, 2003 SP3, and 2007 SP1 and SP2 allows remote attackers to execute arbitrary code via a crafted Publisher file, aka "Microsoft Office Publisher File Conversion TextBox Processing Buffer Overflow Vulnerability."

Vulnerable Configurations

Part Description Count
Application
Microsoft
4

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_idMS10-023
bulletin_url
date2010-04-13T00:00:00
impactRemote Code Execution
knowledgebase_id981160
knowledgebase_url
severityImportant
titleVulnerability in Microsoft Publisher Could Allow Remote Code Execution

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS10-023.NASL
descriptionThe Publisher component of Microsoft Office installed on the remote host has a buffer overflow vulnerability. A remote attacker could exploit this by tricking a user into opening a specially crafted Publisher file, resulting in remote code execution.
last seen2020-06-01
modified2020-06-02
plugin id45510
published2010-04-13
reporterThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/45510
titleMS10-023: Vulnerability in Microsoft Office Publisher Could Allow Remote Code Execution (981160)
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


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

  script_cve_id("CVE-2010-0479");
  script_bugtraq_id(39347);
  script_xref(name:"MSFT", value:"MS10-023");
  script_xref(name:"MSKB", value:"980466");
  script_xref(name:"MSKB", value:"980469");
  script_xref(name:"MSKB", value:"980470");

  script_name(english:"MS10-023: Vulnerability in Microsoft Office Publisher Could Allow Remote Code Execution (981160)");
  script_summary(english:"Checks the version of Publisher");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The version of Microsoft Office installed on the remote host has a
buffer overflow vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The Publisher component of Microsoft Office installed on the remote
host has a buffer overflow vulnerability.

A remote attacker could exploit this by tricking a user into opening a
specially crafted Publisher file, resulting in remote code execution."
  );
  script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2010/ms10-023");
  script_set_attribute(
    attribute:"solution",
    value:
"Microsoft has released a set of patches for Microsoft 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:F/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:"vuln_publication_date", value:"2010/04/13");
  script_set_attribute(attribute:"patch_publication_date", value:"2010/04/13");
  script_set_attribute(attribute:"plugin_publication_date", value:"2010/04/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:publisher");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2011-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("misc_func.inc");
include("smb_hotfixes_fcheck.inc");
include("smb_hotfixes.inc");
include("audit.inc");

get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

bulletin = 'MS10-023';
kbs = make_list("980466", "980469", "980470");
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);

vuln = 0;
get_kb_item_or_exit("SMB/WindowsVersion");
installs = get_kb_list_or_exit("SMB/Office/Publisher/*/ProductPath");
foreach install (keys(installs))
{
  version = install - 'SMB/Office/Publisher/' - '/ProductPath';
  path = installs[install];
  if (isnull(path)) path = 'n/a';

  v = split(version, sep:'.', keep:FALSE);
  for (i = 0; i < max_index(v); i++)
    v[i] = int(v[i]);

  # Office XP SP3
  if (v[0] == 10 && v[1] == 0 && v[2] < 6861)
  {
    vuln++;
    kb = "980466";
    info = '\n  Product           : Publisher 2002'+
           '\n  File              : '+path+
           '\n  Installed version : '+version+
           '\n  Fixed version     : 10.0.6861.0\n';
    hotfix_add_report(info, bulletin:bulletin, kb:kb);
  }
  # Office 2003 SP3
  else if (v[0] == 11 && v[1] == 0 && v[2] < 8321)
  {
    vuln++;
    kb = "980469";
    info = '\n  Product           : Publisher 2003'+
           '\n  File              : '+path+
           '\n  Installed version : '+version+
           '\n  Fixed version     : 11.0.8321.0\n';
    hotfix_add_report(info, bulletin:bulletin, kb:kb);
  }
  # Office 2007 SP1/SP2
  else if (v[0] == 12 && v[1] == 0 && (v[2] < 6527 || (v[2] == 6527 && v[3] < 5000)))
  {
    vuln++;
    kb = "980470";
    info = '\n  Product           : Publisher 2007'+
           '\n  File              : '+path+
           '\n  Installed version : '+version+
           '\n  Fixed version     : 12.0.6527.5000\n';
    hotfix_add_report(info, bulletin:bulletin, kb:kb);
  }
}
if (vuln)
{
  set_kb_item(name:'SMB/Missing/'+bulletin, value:TRUE);
  hotfix_security_hole();
  exit(0);
}
else audit(AUDIT_HOST_NOT, 'affected');

Oval

accepted2014-08-18T04:06:24.181-04:00
classvulnerability
contributors
  • nameDragos Prisaca
    organizationSymantec Corporation
  • nameShane Shaffer
    organizationG2, Inc.
  • nameMaria Kedovskaya
    organizationALTX-SOFT
  • nameEvgeniy Pavlov
    organizationALTX-SOFT
definition_extensions
  • commentMicrosoft Publisher 2002 is installed
    ovaloval:org.mitre.oval:def:734
  • commentMicrosoft Publisher 2003 is installed
    ovaloval:org.mitre.oval:def:239
  • commentMicrosoft Publisher 2007 is installed
    ovaloval:org.mitre.oval:def:2127
descriptionBuffer overflow in Microsoft Office Publisher 2002 SP3, 2003 SP3, and 2007 SP1 and SP2 allows remote attackers to execute arbitrary code via a crafted Publisher file, aka "Microsoft Office Publisher File Conversion TextBox Processing Buffer Overflow Vulnerability."
familywindows
idoval:org.mitre.oval:def:7141
statusaccepted
submitted2010-03-13T13:00:00
titlePublisher Object Handler Validation Vulnerability
version14

Saint

bid39347
descriptionMicrosoft Publisher File Conversion Textbox buffer overflow
idwin_patch_officepubver
osvdb63748
titlems_publisher_file_conversion_textbox
typeclient

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 39347 CVE ID: CVE-2010-0479 Publisher是微软Office办公软件套件中用于创建、个性化和共享各种出版物和营销材料的工具。 Publisher中负责转换Publisher 97格式文件的代码中存在缓冲区溢出漏洞。在处理畸形PUB文件中的TextBox项时就可以触发这个溢出,导致以打开文件用户的权限执行任意代码。 Microsoft Publisher 2007 SP2 Microsoft Publisher 2007 SP1 Microsoft Publisher 2003 SP3 Microsoft Publisher 2002 SP3 临时解决方法: * 不要打开从不受信任来源或从受信任来源意外收到的Publisher文件。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS10-023)以及相应补丁: MS10-023:Vulnerability in Microsoft Office Publisher Could Allow Remote Code Execution (981160) 链接:http://www.microsoft.com/technet/security/bulletin/MS10-023.mspx?pf=true
idSSV:19455
last seen2017-11-19
modified2010-04-14
published2010-04-14
reporterRoot
titleMicrosoft Office Publisher文件转换TextBox处理缓冲区溢出漏洞(MS10-023)