Lucene search
+L

Microsoft Windows Kernel win32k.sys Privilege Escalation Vulnerability

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

Microsoft Windows Kernel win32k.sys Privilege Escalation Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-2653
30 Jul 200900:00
circl
cve
CVE
CVE-2009-2653
3 Aug 200914:00
cve
cvelist
Cvelist
CVE-2009-2653
3 Aug 200914:00
cvelist
exploitdb
Exploit DB
Microsoft Windows XP - 'win32k.sys' Local Privilege Escalation
30 Jul 200900:00
exploitdb
nvd
NVD
CVE-2009-2653
3 Aug 200914:30
nvd
openvas
OpenVAS
Microsoft Windows Kernel win32k.sys Privilege Escalation Vulnerability
11 Aug 200900:00
openvas
prion
Prion
Design/Logic Flaw
3 Aug 200914:30
prion
ptsecurity
Positive Technologies
PT-2009-5049 · Microsoft · Windows Xp +2
3 Aug 200900:00
ptsecurity
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.800862");
  script_version("2026-04-28T06:28:06+0000");
  script_tag(name:"last_modification", value:"2026-04-28 06:28:06 +0000 (Tue, 28 Apr 2026)");
  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 AG");
  script_family("Privilege escalation");
  script_dependencies("smb_reg_service_pack.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);

  script_tag(name:"impact", value:"Successful exploitation could allow local administrators to
  bypass unspecified 'security software' and gain privileges.");

  script_tag(name:"affected", value:"- Microsoft Windows XP SP2/SP3 and prior

  - Microsoft Windows Server 2003 before SP1");

  script_tag(name:"insight", value:"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.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since the 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.");

  script_tag(name:"summary", value:"Windows XP/2003 is prone to a privilege escalation vulnerability.");

  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");

if(winVer =~ "^5\.[12]")
{
  SP = get_kb_item("SMB/WinXP/ServicePack");
  SvPk = get_kb_item("SMB/Win2003/ServicePack");
  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);

    if(sysVer =~ "^5\.1\.")
    {
      if(version_is_less_equal(version:sysVer, test_version:"5.1.2600.5796"))
        security_message( port: 0, data: "The target host was found to be vulnerable" );
    }
    else if(sysVer =~ "^5\.2\.")
      security_message( port: 0, data: "The target host was found to be vulnerable" );
 }
}

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