the last unbiased stronghold

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, 2k, xp
advisories | CVE-2009-0228
MD5 | 84dfab800df1a2f61408093d471034c2

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.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close