1. /
  2. Security Response/
  3. Microsoft Windows Plug and Play Buffer Overflow Vulnerability

Microsoft Windows Plug and Play Buffer Overflow Vulnerability

Risk

High

Date Discovered

August 9, 2005

Description

Microsoft Windows Plug and Play (PnP) is prone to a buffer-overflow vulnerability. This issue takes place when the PnP service handles malformed messages containing excessive data. This vulnerability may allow local attackers to escalate privileges and remote attackers to gain unauthorized access, depending on the underlying operating system. A successful attack may allow arbitrary code to run, resulting in the attacker gaining SYSTEM privileges. UPDATE (8/23/2005): While investigating this vulnerability, the DeepSight Threat Analyst Team has been able to carry out anonymous remote exploitation against certain nondefault configurations of Windows XP SP1. The attack vector appears when the "Guest" account is both enabled and removed from the "Deny access to this computer from the network" entry in the "User Rights Assignment" Security Policy. This can happen when Simple File and Print Sharing has been enabled, for example by sharing a folder or a printer with the local network. Note that Simple File and Print Sharing is available only on Windows XP machines that are not part of a Windows Active Directory Domain. However, configuring a Windows XP SP1 host to share network resources prior to joining an Active Directory Domain will leave it in the vulnerable state even after the Domain is joined. Note also that Windows XP SP2 is not prone to this exploitation method. Furthermore, there is no change to Microsoft Security Bulletin MS05-039. Customers who have deployed this update are protected from this issue. In light of this finding, Microsoft has issued new information regarding the patch for the Microsoft Windows Plug and Play Buffer Overflow Vulnerability (see Security Bulletin 906574: http://www.microsoft.com/technet/security/advisory/906574.mspx).

Technologies Affected

  • Cisco Broadband Troubleshooter
  • Cisco Building Broadband Service Manager 2.5.1
  • Cisco Building Broadband Service Manager 3.0.0
  • Cisco Building Broadband Service Manager 4.0.1
  • Cisco Building Broadband Service Manager 4.2.0
  • Cisco Building Broadband Service Manager 4.3.0
  • Cisco Building Broadband Service Manager 4.4.0
  • Cisco Building Broadband Service Manager 4.5.0
  • Cisco Building Broadband Service Manager 5.0.0
  • Cisco Building Broadband Service Manager 5.1.0
  • Cisco Building Broadband Service Manager 5.2.0
  • Cisco CNS Network Registrar 6.0.0
  • Cisco CNS Network Registrar 6.0.1
  • Cisco CNS Network Registrar 6.0.2
  • Cisco CNS Network Registrar 6.0.3
  • Cisco CNS Network Registrar 6.0.4
  • Cisco CNS Network Registrar 6.0.5
  • Cisco CNS Network Registrar 6.0.5 .2
  • Cisco CNS Network Registrar 6.0.5 .3
  • Cisco CNS Network Registrar 6.0.5 .4
  • Cisco CNS Network Registrar 6.1.0
  • Cisco CNS Network Registrar 6.1.1
  • Cisco CNS Network Registrar 6.1.1 .1
  • Cisco CNS Network Registrar 6.1.1 .2
  • Cisco CNS Network Registrar 6.1.1 .3
  • Cisco CNS Network Registrar 6.1.1 .4
  • Cisco Call Manager 1.0.0
  • Cisco Call Manager 2.0.0
  • Cisco Call Manager 3.0.0
  • Cisco Call Manager 3.1.0
  • Cisco Call Manager 3.1.0 (2)
  • Cisco Call Manager 3.1.0 (3a)
  • Cisco Call Manager 3.2.0
  • Cisco Call Manager 3.3.0
  • Cisco Call Manager 3.3.0 (3)
  • Cisco Call Manager 3.3.0 (3)ES61
  • Cisco Call Manager 3.3.0 (4)ES25
  • Cisco Call Manager 3.3.0 (5)
  • Cisco Call Manager 4.0.0
  • Cisco Call Manager 4.0.0 (2a)ES40
  • Cisco Call Manager 4.0.0 (2a)SR2b
  • Cisco Call Manager 4.1.0 (2)ES33
  • Cisco Call Manager 4.1.0 (3)ES07
  • Cisco Call Manager 4.1.0 (3)SR1
  • Cisco CiscoWorks
  • Cisco Collaboration Server 3.0.0
  • Cisco Collaboration Server 3.0.0 1
  • Cisco Collaboration Server 3.0.0 2
  • Cisco Collaboration Server 4.0.0
  • Cisco Collaboration Server 5.0.0
  • Cisco Computer Telephony Integration Option
  • Cisco Conference Connection 1.1.0 (1)
  • Cisco Conference Connection 1.2.0
  • Cisco Customer Response Application Server
  • Cisco Customer Voice Portal
  • Cisco DOCSIS CPE Configurator
  • Cisco E-Mail Manager
  • Cisco Emergency Responder 1.1.0
  • Cisco ICM Enterprise Edition
  • Cisco ICM Hosted Edition
  • Cisco IP Contact Center Enterprise
  • Cisco IP Contact Center Express
  • Cisco IP Contact Center Hosted
  • Cisco IP Contact Center Remote Agent
  • Cisco IP Interactive Voice Response (IP IVR) 3.0.0
  • Cisco IP Queue Manager
  • Cisco IP/VC 3540 Application Server
  • Cisco IP/VC 3540 Video Rate Matching Module
  • Cisco Media Blender
  • Cisco Networking Services for Active Directory
  • Cisco Outbound Option
  • Cisco Personal Assistant 1.3.0 (1)
  • Cisco Personal Assistant 1.3.0 (2)
  • Cisco Personal Assistant 1.3.0 (3)
  • Cisco Personal Assistant 1.3.0 (4)
  • Cisco Personal Assistant 1.4.0 (1)
  • Cisco Personal Assistant 1.4.0 (2)
  • Cisco Remote Monitoring Suite Option
  • Cisco SN5400 series storage routers
  • Cisco Support Tools
  • Cisco Trailhead
  • Cisco Transport Manager
  • Cisco Unity Server 2.0.0
  • Cisco Unity Server 2.1.0
  • Cisco Unity Server 2.2.0
  • Cisco Unity Server 2.3.0
  • Cisco Unity Server 2.4.0
  • Cisco Unity Server 2.46.0
  • Cisco Unity Server 3.0.0
  • Cisco Unity Server 3.1.0
  • Cisco Unity Server 3.2.0
  • Cisco Unity Server 3.3.0
  • Cisco Unity Server 4.0.0
  • Cisco Web Collaboration Option
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Advanced Server SP3
  • Microsoft Windows 2000 Advanced Server SP4
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Datacenter Server SP1
  • Microsoft Windows 2000 Datacenter Server SP2
  • Microsoft Windows 2000 Datacenter Server SP3
  • Microsoft Windows 2000 Datacenter Server SP4
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows 2000 Professional SP2
  • Microsoft Windows 2000 Professional SP3
  • Microsoft Windows 2000 Professional SP4
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Server SP3
  • Microsoft Windows 2000 Server SP4
  • Microsoft Windows Server 2003 Datacenter Edition
  • Microsoft Windows Server 2003 Datacenter Edition Itanium
  • Microsoft Windows Server 2003 Datacenter Edition Itanium SP1
  • Microsoft Windows Server 2003 Datacenter Edition SP1
  • Microsoft Windows Server 2003 Datacenter x64 Edition
  • Microsoft Windows Server 2003 Enterprise Edition
  • Microsoft Windows Server 2003 Enterprise Edition Itanium
  • Microsoft Windows Server 2003 Enterprise Edition Itanium SP1
  • Microsoft Windows Server 2003 Enterprise Edition SP1
  • Microsoft Windows Server 2003 Enterprise x64 Edition
  • Microsoft Windows Server 2003 Standard Edition
  • Microsoft Windows Server 2003 Standard Edition SP1
  • Microsoft Windows Server 2003 Standard x64 Edition
  • Microsoft Windows Server 2003 Web Edition
  • Microsoft Windows Server 2003 Web Edition SP1
  • Microsoft Windows XP Home
  • Microsoft Windows XP Home SP1
  • Microsoft Windows XP Home SP2
  • Microsoft Windows XP Media Center Edition
  • Microsoft Windows XP Media Center Edition SP1
  • Microsoft Windows XP Media Center Edition SP2
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional SP1
  • Microsoft Windows XP Professional SP2
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows XP Tablet PC Edition SP1
  • Microsoft Windows XP Tablet PC Edition SP2

Recommendations

Permit local access for trusted individuals only. Where possible, use restricted environments and restricted shells.

Given the local nature of this issue, grant only trusted and accountable individuals access to affected computers.

Block external access at the network boundary, unless external parties require service.

Use network access controls to regulate external access to computers at the network perimeter. Permit access for trusted or internal computers and networks only. Block TCP ports 139 and 445.

Deploy network intrusion detection systems to monitor network traffic for malicious activity.

Deploy a network intrusion detection sensor between the affected service and the network perimeter. Audit the logs regularly for indications of potential attacks.

Implement multiple redundant layers of security.

Memory-protection schemes such as nonexecutable stack/heap configurations and randomly mapped memory segments may complicate exploitation of memory-corruption vulnerabilities.

Change default user IDs and passwords.

A workaround against the Guest account attack vector is to change the default password for the guest account. This will prevent attackers from connecting to the service and authenticating as Guest.

Review and adjust according to policy any default configuration settings.

Although file sharing is not enabled by default, administrators should still check to ensure that it is disabled. This is necessary only for systems that are not already patched with the MS05-039 fix or have XP SP2 installed. Such systems are not vulnerable to the Guest account attack vector.

Review and adjust according to policy any default configuration settings.

Ensure the Guest Account is on the "Deny access to this computer from the network" entry in the "User Rights Assignment" Security Policy. Although this is the default setting, enabling file sharing may remove this entry from the policy.
Microsoft has released fixes to address this vulnerability in supported platforms. Cisco has release a security notice detailing their mitigation recommendations with regard to this vulnerability.

Credits

Discovery is credited to Neel Mehta of ISS X-Force.
Copyright © Symantec Corporation.
Permission to redistribute this alert electronically is granted as long as it is not edited in any way unless authorized by Symantec Security Response. Reprinting the whole or part of this alert in any medium other than electronically requires permission from secure@symantec.com.

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.
Symantec, Symantec products, Symantec Security Response, and secure@symantec.com are registered trademarks of Symantec Corp. and/or affiliated companies in the United States and other countries. All other registered and unregistered trademarks represented in this document are the sole property of their respective companies/owners.

Threat Intelligence

Subscribe
Follow the Threat Intelligence Twitter feed
STAR Antimalware Protection Technologies
Internet Security Threat Report
Symantec DeepSight Screensaver