Lucene search

K
openvasCopyright (c) 2012 Greenbone Networks GmbHOPENVAS:802383
HistoryJan 19, 2012 - 12:00 a.m.

Microsoft Windows Color Control Panel Privilege Escalation Vulnerability

2012-01-1900:00:00
Copyright (c) 2012 Greenbone Networks GmbH
plugins.openvas.org
12

EPSS

0.796

Percentile

98.4%

Microsoft Windows Server 2008 SP2 is prone to privilege
escalation vulnerability.

This NVT has been replaced by NVT secpod_ms12-012.nasl
(OID:1.3.6.1.4.1.25623.1.0.902791).

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms_win_color_control_panel_priv_escalation.nasl 5659 2017-03-21 11:24:51Z cfi $
#
# Microsoft Windows Color Control Panel Privilege Escalation Vulnerability
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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 attempt could allow local attackers to bypass security
restrictions and gain the privileges.

Impact Level: System";

tag_affected = "Microsoft Windows Server 2008 SP2";

tag_insight = "The flaw is due to an error in the Color Control Panel, which
allows attackers to gain privileges via a Trojan horse sti.dll file in the
current working directory.";

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/ms12-012";

tag_summary = "Microsoft Windows Server 2008 SP2 is prone to privilege
escalation vulnerability.

This NVT has been replaced by NVT secpod_ms12-012.nasl
(OID:1.3.6.1.4.1.25623.1.0.902791).";


if(description)
{
  script_id(802383);
  script_version("$Revision: 5659 $");
  script_tag(name:"deprecated", value:TRUE);
  script_cve_id("CVE-2010-5082");
  script_bugtraq_id(44157);
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2017-03-21 12:24:51 +0100 (Tue, 21 Mar 2017) $");
  script_tag(name:"creation_date", value:"2012-01-19 16:17:52 +0530 (Thu, 19 Jan 2012)");
  script_name("Microsoft Windows Color Control Panel Privilege Escalation Vulnerability");

  script_xref(name : "URL" , value : "http://www.koszyk.org/b/archives/82");
  script_xref(name : "URL" , value : "http://shinnai.altervista.org/exploits/SH-006-20100914.html");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("secpod_reg_enum.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");

  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);
  exit(0);
}

exit(66); ## This NVT is deprecated as addressed in secpod_ms12-012.nasl

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

if(hotfix_check_sp(win2008:3) <= 0){
  exit(0);
}

SP = get_kb_item("SMB/Win2008/ServicePack");
if("Service Pack 2" >< SP)
{
  ## Get System Path
  sysPath = smb_get_systemroot();
  if(!sysPath ){
    exit(0);
  }

  ## Get Version from Win32k.sys
  sysVer = fetch_file_version(sysPath, file_name:"system32\colorcpl.exe");
  if(!isnull(sysVer))
  {
    if(version_is_equal(version:sysVer, test_version:"6.0.6000.16386"))
    {
      security_message(0);
      exit(0);
    }
  }
}