exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

iDEFENSE Security Advisory 2009-06-09.2

iDEFENSE Security Advisory 2009-06-09.2
Posted Jun 11, 2009
Authored by iDefense Labs, Jun Mao | Site idefense.com

iDefense Security Advisory 06.09.09 - Remote exploitation of a stack buffer overflow vulnerability in Microsoft Corp.'s Windows 2000 operating system could allow an unauthenticated attacker to execute arbitrary code with system-level privileges. This vulnerability exists in the EnumeratePrintShares function in win32spl.dll. The vulnerable function does not correctly validate the length of the printer server's response. When a malformed response is received from the printer server, the stack buffer can be overflowed, resulting in an exploitable condition. iDefense has confirmed the existence of this vulnerability in win32spl.dll version 5.00.2195.7054, as included in Windows 2000 Service Pack 4, with all available patches as of September 2008. All previous versions are suspected vulnerable. Windows XP SP2 and later versions of Windows are not affected.

tags | advisory, remote, overflow, arbitrary
systems | windows
advisories | CVE-2009-0228
SHA-256 | 694378c665ee66b058d66c03ea71426d961d982f2df2e76eda8ce2592ff49302

iDEFENSE Security Advisory 2009-06-09.2

Change Mirror Download
iDefense Security Advisory 06.09.09
http://labs.idefense.com/intelligence/vulnerabilities/
Jun 09, 2009

I. BACKGROUND

The Windows Print Spooler manages the printing process, and loads files
to memory for later printing. For more information about Print Spooler,
please visit following website:

http://msdn.microsoft.com/en-us/library/aa506181.aspx

II. DESCRIPTION

Remote exploitation of a stack buffer overflow vulnerability in
Microsoft Corp.'s Windows 2000 operating system could allow an
unauthenticated attacker to execute arbitrary code with system-level
privileges.

This vulnerability exists in the EnumeratePrintShares function in
win32spl.dll. The vulnerable function does not correctly validate the
length of the printer server's response. When a malformed response is
received from the printer server, the stack buffer can be overflowed,
resulting in an exploitable condition.

III. ANALYSIS

Exploitation allows a remote attacker to execute arbitrary code with
system-level privileges.

To exploit this vulnerability, the attacker has to setup a malicious
printer server that can be accessed by the target system. No user
interaction is required and no authentication is required. The attacker
just needs to connect to the print spooler service and send a request.
This request will cause the target system to enumerate shared printer
resource on the malicious printer server and trigger the vulnerability.

This vulnerability only exists in Windows 2000. The Spooler Service is
running by default on Windows 2000 with SYSTEM privileges.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability in
win32spl.dll version 5.00.2195.7054, as included in Windows 2000
Service Pack 4, with all available patches as of September 2008. All
previous versions are suspected vulnerable.

Windows XP SP2 and later versions of Windows are not affected.

V. WORKAROUND

Consider disabling the print spooler service; however, by doing this,
users cannot print locally or remotely.

For hosts that do need the print spooler service running, disable
anonymous connections to the service by removing the print spooler
service from following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\NullSessionPipes
Remove 'SPOOLSS' from the registry key. This will allow only
authenticated access to the print spooler service, disabling the vector
for anonymous attack.

Alternatively, ports 139, 445, 631 both UDP and TCP can be firewalled.
This will largely prevent access to any print services remotely on a
host system.

VI. VENDOR RESPONSE

Microsoft has released a patch which addresses this issue. For more
information, consult their advisory at the following URL:

http://www.microsoft.com/technet/security/Bulletin/MS09-022.mspx

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2009-0228 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

09/05/2008 - Initial Contact
09/05/2008 - Initial Response
09/05/2008 - PoC Requested
09/08/2008 - PoC Sent
09/24/2008 - Vendor Status Update - no estimated date set
12/12/2008 - Vendor Status Update - new case manger, tentative date set
for April 2009
02/26/2009 - Vendor Status Update - tentative date set for 06/09/2009
03/27/2009 - Vendor confirmed attribution.
04/23/2009 - Requested CVE
04/23/2009 - CVE received
05/28/2009 - Confirmed tentative disclosure date and acknowledgment text
06/09/2009 - Coordinated public disclosure

IX. CREDIT

This vulnerability was discovered by Jun Mao of iDefense Labs.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

X. LEGAL NOTICES

Copyright © 2009 iDefense, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically,
please e-mail customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.
Login or Register to add favorites

File Archive:

October 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    39 Files
  • 2
    Oct 2nd
    23 Files
  • 3
    Oct 3rd
    18 Files
  • 4
    Oct 4th
    20 Files
  • 5
    Oct 5th
    0 Files
  • 6
    Oct 6th
    0 Files
  • 7
    Oct 7th
    17 Files
  • 8
    Oct 8th
    66 Files
  • 9
    Oct 9th
    25 Files
  • 10
    Oct 10th
    20 Files
  • 11
    Oct 11th
    21 Files
  • 12
    Oct 12th
    0 Files
  • 13
    Oct 13th
    0 Files
  • 14
    Oct 14th
    14 Files
  • 15
    Oct 15th
    49 Files
  • 16
    Oct 16th
    28 Files
  • 17
    Oct 17th
    0 Files
  • 18
    Oct 18th
    0 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close