Lucene search
K

Microsoft Windows Kernel win32k.sys Privilege Escalation Vulnerability

🗓️ 11 Aug 2009 00:00:00Reported by Copyright (C) 2009 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 22 Views

Microsoft Windows Kernel win32k.sys Privilege Escalation Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-2653
30 Jul 200900:00
circl
CVE
CVE-2009-2653
3 Aug 200914:00
cve
Cvelist
CVE-2009-2653
3 Aug 200914:00
cvelist
NVD
CVE-2009-2653
3 Aug 200914:30
nvd
OpenVAS
Microsoft Windows Kernel win32k.sys Privilege Escalation Vulnerability
11 Aug 200900:00
openvas
Prion
Design/Logic Flaw
3 Aug 200914:30
prion
Positive Technologies
PT-2009-5049 · Microsoft · Windows Xp +2
3 Aug 200900:00
ptsecurity
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms_win_kernel_win32k_sys_priv_esc_vuln.nasl 5363 2017-02-20 13:07:22Z cfi $
#
# Microsoft Windows Kernel 'win32k.sys' Privilege Escalation Vulnerability
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 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 exploitation could allow local administrators to
bypass unspecified 'security software' and gain privileges.

Impact Level: System";

tag_affected = "Microsoft Windows XP SP2/SP3 and prior
Microsoft Windows Server 2003 before SP1.";

tag_insight = "The flaw is due to error in NtUserConsoleControl function in
win32k.sys caused via a crafted call that triggers an overwrite of an
arbitrary memory location.";

tag_solution = "No solution or patch was made available for at least one year
since disclosure of this vulnerability. Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective
features, remove the product or replace the product by another one.";

tag_summary = "Windows XP/2003 is prone to Privilege Escalation vulnerability.";

if(description)
{
  script_id(800862);
  script_version("$Revision: 5363 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 14:07:22 +0100 (Mon, 20 Feb 2017) $");
  script_tag(name:"creation_date", value:"2009-08-11 07:36:16 +0200 (Tue, 11 Aug 2009)");
  script_tag(name:"cvss_base", value:"4.6");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2009-2653");
  script_name("Microsoft Windows Kernel win32k.sys Privilege Escalation Vulnerability");
  script_xref(name : "URL" , value : "http://www.milw0rm.com/exploits/9301");
  script_xref(name : "URL" , value : "http://www.ntinternals.org/index.html#09_07_30");
  script_xref(name : "URL" , value : "http://securitytracker.com/alerts/2009/Jul/1022630.html");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("Privilege escalation");
  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:"solution_type", value:"WillNotFix");
  exit(0);
}


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

winVer = get_kb_item("SMB/WindowsVersion");

# Check for Windows XP and Windows 2003
if(winVer =~ "^5\.[12]")
{
  SP = get_kb_item("SMB/WinXP/ServicePack");
  SvPk = get_kb_item("SMB/Win2003/ServicePack");
  # Check for XP SP2/SP3 or Win 2003 (without SP)
  if(("Service Pack 2" >< SP) || ("Service Pack 3" >< SP) || isnull(SvPk))
  {
    sysPath = registry_get_sz(item:"Install Path",
                              key:"SOFTWARE\Microsoft\COM3\Setup");
    sysPath += "\win32k.sys";
    share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:sysPath);
    file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:sysPath);
    sysVer = GetVer(file:file, share:share);

    # Chech for win32k.sys version for Windows XP
    if(sysVer =~ "^5\.1\..*")
    {
      # Check for win32k.sys version <= 5.1.2600.5796 for Windows XP SP2/SP3
      if(version_is_less_equal(version:sysVer, test_version:"5.1.2600.5796"))
        security_message(0);
    }
    # Check for win32k.sys version for Windows 2003
    else if(sysVer =~ "^5\.2\..*")
      security_message(0);
 }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation