Vulnerabilities > CVE-2010-3952 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Microsoft Office and Office Converter Pack

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

The FlashPix image converter in the graphics filters in Microsoft Office XP SP3 and Office Converter Pack allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via a crafted FlashPix image in an Office document, aka "FlashPix Image Converter Heap Corruption Vulnerability."

Vulnerable Configurations

Part Description Count
Application
Microsoft
2

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-105
bulletin_url
date2010-12-14T00:00:00
impactRemote Code Execution
knowledgebase_id968095
knowledgebase_url
severityImportant
titleVulnerabilities in Microsoft Office Graphics Filters Could Allow for Remote Code Execution

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS10-105.NASL
descriptionThe remote host is running a version of Microsoft Office with multiple memory corruption vulnerabilities. A remote attacker could exploit this by tricking a user into viewing a specially crafted image file with Office, resulting in arbitrary code execution.
last seen2020-06-01
modified2020-06-02
plugin id51177
published2010-12-15
reporterThis script is Copyright (C) 2010-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/51177
titleMS10-105: Vulnerabilities in Microsoft Office Graphics Filters Could Allow for Remote Code Execution (968095)
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


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

  script_cve_id(
    "CVE-2010-3945",
    "CVE-2010-3946",
    "CVE-2010-3947",
    "CVE-2010-3949",
    "CVE-2010-3950",
    "CVE-2010-3951",
    "CVE-2010-3952"
  );
  script_bugtraq_id(
    45270,
    45273,
    45274,
    45275,
    45278,
    45283,
    45285
  );
  script_xref(name:"MSFT", value:"MS10-105");
  script_xref(name:"MSKB", value:"2289078");

  script_name(english:"MS10-105: Vulnerabilities in Microsoft Office Graphics Filters Could Allow for Remote Code Execution (968095)");
  script_summary(english:"Checks Office version");

  script_set_attribute(
    attribute:"synopsis",
    value:
"Arbitrary code can be executed on the remote host through the
Microsoft Office filters."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote host is running a version of Microsoft Office with
multiple memory corruption vulnerabilities.

A remote attacker could exploit this by tricking a user into viewing a
specially crafted image file with Office, resulting in arbitrary code
execution."
  );
  script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2010/ms10-105");
  script_set_attribute(
    attribute:"solution",
    value:
"Microsoft has released a set of patches for Office XP, 2003, 2007,
2010, and Office Converter Pack."
  );
  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/12/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2010/12/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2010/12/15");

  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:office_converter_pack");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:works");
  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("audit.inc");

include("misc_func.inc");
get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

bulletin = 'MS10-105';
kbs = make_list("2289078");
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);

common = hotfix_get_officecommonfilesdir();
if (isnull(common)) exit(1, 'hotfix_get_officecommonfilesdir() failed.');

office_vers = hotfix_check_office_version();

vuln = FALSE;
checkedfiles = make_array();
if (office_vers)
{
  foreach ver (keys(office_vers))
  {
    if (typeof(common) == 'array')  dir = common[ver];
    else  dir = common;
    if (ver == "10.0" || ver == "11.0" || ver == "12.0" || ver == "14.0")
    {
      share = hotfix_path2share(path:dir);
      if (is_accessible_share(share:share))
      {
        # Office 2010
        if (ver == "14.0")
        {
          file = dir + '\\Microsoft Shared\\TextConv\\Msconv97.dll';
          if (!checkedfiles[file])
          {
            if (hotfix_is_vulnerable(path:dir + '\\Microsoft Shared\\TextConv', file:"Msconv97.dll", version:"2010.1400.5114.5004", min_version:"2010.0.0.0", bulletin:bulletin, kb:'2289078')) vuln = TRUE;
            checkedfiles[file] = 1;
          }
        }
        # Office 2007
        else if (ver == "12.0")
        {
          file = dir + '\\Microsoft Shared\\TextConv\\Msconv97.dll';
          if (!checkedfiles[file])
          {
            if (office_vers["12.0"] && hotfix_is_vulnerable(path:dir + '\\Microsoft Shared\\TextConv', file:"Msconv97.dll", version:"2006.1200.6539.5004", min_version:"2006.0.0.0", bulletin:bulletin, kb:'2289078')) vuln = TRUE;
            checkedfiles[file] = 1;
          }
        }
        # Office XP, 2003, and File Converter Pack
        else if (ver == "10.0")
        {
          file = dir + '\\Microsoft Shared\\Grphflt\\Png32.flt';
          if (!checkedfiles[file])
          {
            if (office_vers["10.0"] && hotfix_is_vulnerable(path:dir + '\\Microsoft Shared\\Grphflt', file:"Png32.flt", version:"2003.1100.8329.0", min_version:"2003.0.0.0", bulletin:bulletin, kb:'2289162')) vuln = TRUE;
            checkedfiles[file] = 1;
          }
        }
        else if (ver == "11.0")
        {
          file = dir + '\\Microsoft Shared\\Grphflt\\Png32.flt';
          if (!checkedfiles[file])
          {
            if (office_vers["11.0"] && hotfix_is_vulnerable(path:dir + '\\Microsoft Shared\\Grphflt', file:"Png32.flt", version:"2003.1100.8329.0", min_version:"2003.0.0.0", bulletin:bulletin, kb:'2289163')) vuln = TRUE;
            checkedfiles[file] = 1;
          }
        }
      }
    }
  }
}
else
{
  if (typeof(common) != 'array')
  {
    dir = common;
    share = hotfix_path2share(path:dir);
    if (is_accessible_share(share:share))
    {
      if (hotfix_is_vulnerable(path:dir + '\\Microsoft Shared\\Grphflt', file:"Png32.flt", version:"2003.1100.8329.0", min_version:"2003.0.0.0", bulletin:bulletin, kb:'2456849'))
      {
        vuln = TRUE;
      }
    }
  }
  else
  {
    foreach ver (keys(common))
    {
      dir = common[ver];
      share = hotfix_path2share(path:dir);
      if (is_accessible_share(share:share))
      {
        if (hotfix_is_vulnerable(path:dir + '\\Microsoft Shared\\Grphflt', file:"Png32.flt", version:"2003.1100.8329.0", min_version:"2003.0.0.0", bulletin:bulletin, kb:'2456849'))
        {
          vuln = TRUE;
          break;
        }
      }
    }
  }
}
if (vuln)
{
  set_kb_item(name:'SMB/Missing/MS10-105', 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:09.388-04:00
classvulnerability
contributors
  • nameDragos Prisaca
    organizationSymantec Corporation
  • nameDragos Prisaca
    organizationG2, Inc.
  • nameMaria Mikhno
    organizationALTX-SOFT
  • nameMaria Mikhno
    organizationALTX-SOFT
definition_extensions
  • commentMicrosoft Office XP is installed
    ovaloval:org.mitre.oval:def:663
  • commentMicrosoft Office Converter Pack is installed
    ovaloval:org.mitre.oval:def:28520
  • commentMicrosoft Works 9.0 is installed
    ovaloval:org.mitre.oval:def:6784
descriptionThe FlashPix image converter in the graphics filters in Microsoft Office XP SP3 and Office Converter Pack allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via a crafted FlashPix image in an Office document, aka "FlashPix Image Converter Heap Corruption Vulnerability."
familywindows
idoval:org.mitre.oval:def:12150
statusaccepted
submitted2010-12-14T14:00:00
titleFlashPix Image Converter Heap Corruption Vulnerability
version16