Lucene search

K
openvasCopyright (C) 2011 SecPodOPENVAS:902496
HistoryDec 14, 2011 - 12:00 a.m.

Microsoft Office IME (Chinese) Privilege Elevation Vulnerability (2652016)

2011-12-1400:00:00
Copyright (C) 2011 SecPod
plugins.openvas.org
24

EPSS

0

Percentile

9.5%

This host is missing an important security update according to
Microsoft Bulletin MS11-088.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ms11-088.nasl 5362 2017-02-20 12:46:39Z cfi $
#
# Microsoft Office IME (Chinese) Privilege Elevation Vulnerability (2652016)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2011 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation could allow attackers to to execute arbitrary code
  with kernel-mode privileges.
  Impact Level: Application";
tag_affected = "Microsoft Pinyin IME 2010
  Microsoft Office Pinyin SimpleFast Style 2010 and
  Microsoft Office Pinyin New Experience Style 2010";
tag_insight = "The flaw is due to the Microsoft Pinyin (MSPY) Input Method Editor
  (IME) for Simplified Chinese unsafely exposing certain configuration
  options.";
tag_solution = "Run Windows Update and update the listed hotfixes or download and
  update mentioned hotfixes in the advisory from the below link,
  http://technet.microsoft.com/en-us/security/bulletin/ms11-088";
tag_summary = "This host is missing an important security update according to
  Microsoft Bulletin MS11-088.";

if(description)
{
  script_id(902496);
  script_version("$Revision: 5362 $");
  script_cve_id("CVE-2011-2010");
  script_bugtraq_id(50950);
  script_tag(name:"cvss_base", value:"7.2");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 13:46:39 +0100 (Mon, 20 Feb 2017) $");
  script_tag(name:"creation_date", value:"2011-12-14 15:59:45 +0530 (Wed, 14 Dec 2011)");
  script_name("Microsoft Office IME (Chinese) Privilege Elevation Vulnerability (2652016)");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/47062/");
  script_xref(name : "URL" , value : "http://support.microsoft.com/kb/2583956");
  script_xref(name : "URL" , value : "http://support.microsoft.com/kb/2647540");
  script_xref(name : "URL" , value : "http://technet.microsoft.com/en-us/security/bulletin/ms11-088");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 SecPod");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)){
  exit(0);
}

entries = registry_enum_keys(key:key);
if(entries == NULL){
  exit(0);
}

## Check for the  Microsoft Pinyin IME 2010
foreach item (entries)
{
  imeName = registry_get_sz(key:key + item, item:"DisplayName");
  if(egrep(pattern:"Microsoft Office IME .*Chinese", string:imeName))
  {
    ## Get Comman File Path
    path = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion",
                           item:"CommonFilesDir");
    if(path)
    {
      imePath = path + "\Microsoft Shared\IME14\IMETC";
      dllVer = fetch_file_version(sysPath:imePath, file_name:"Imtctip.dll");
      if(dllVer)
      {
        ## Grep for Imtctip.dll versions
        if(version_in_range(version:dllVer, test_version:"14.0", test_version2:"14.0.6019.999"))
        {
          security_message(0);
          exit(0);
        }
      }
    }
  }
}

## Check For the  Microsoft Office Pinyin SimpleFast Style 2010 and
## Microsoft Office Pinyin New Experience Style 2010
foreach item (entries)
{
  MSOffName = registry_get_sz(key:key + item, item:"DisplayName");
  if(egrep(pattern:"Microsoft Office IMESS .*Chinese", string:MSOffName))
  {
   ## Get Comman File Path
    path = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion",
                           item:"CommonFilesDir");
    if(path)
    {
      offPath = path + "\Microsoft Shared\IME14WR\IMESC";
      dllVer = fetch_file_version(sysPath:offPath, file_name:"Imsctip.dll");
      if(dllVer)
      {
        ## Grep for Imsctip.dll versions
        if(version_in_range(version:dllVer, test_version:"14.0", test_version2:"14.0.5810.999"))
        {
          security_message(0);
          exit(0);
        }
      }
    }
  }
}