Security Intelligence Operations - Cisco Systems
Guest
 

Security Intelligence Operations


Microsoft Windows SMB Filename Processing Arbitrary Code Execution Vulnerability

 
Vulnerability AlertPowered by Cisco Security IntelliShield Alert Manager

Threat Type:Unintended Weakness: Arbitrary Code Execution
IntelliShield ID:16809
Version:1
First Published:October 14, 2008 03:07 PM EDT
Last Published:October 14, 2008 03:07 PM EDT
Vector:Network
Authentication:Single
Exploit:Unproven
Port: Not Available
CVE:CVE-2008-4038
BugTraq ID:31647
 
Urgency: Unlikely Use
Credibility: Confirmed
Severity: Moderate Damage
CVSS Base:9.0 CVSS Calculator
CVSS Version 2
CVSS Temporal:6.7
 
Version Summary:

Microsoft Windows contains a vulnerability that could allow an authenticated, remote attacker to execute arbitrary code with elevated privileges. Updates are available.

 
 
Description

Microsoft Windows contains a vulnerability that could allow an authenticated, remote attacker to execute arbitrary code on an affected system.

The vulnerability is due to errors when processing file names on Server Message Block (SMB) disk-based file stores.  An attacker could exploit this vulnerability by sending a malicious SMB request to the affected system.  If successful, the attacker could execute arbitrary code with elevated privileges, possibly resulting in a complete system compromise.

Microsoft has confirmed this vulnerability in a security bulletin and released software updates.

 
Warning Indicators

The following systems are affected:

  • Windows 2000 SP4 and prior
  • Windows XP SP3 and prior
  • Windows XP Professional x64 Edition SP2 and prior
  • Windows Server 2003 SP2 and prior
  • Windows Server 2003 x64 Edition SP2 and prior
  • Windows Server 2003 with SP2 and prior for Itanium-based Systems
  • Windows Vista SP1 and prior
  • Windows Vista x64 Edition SP1 and prior
  • Windows Server 2008 for 32-bit Systems
  • Windows Server 2008 for x64-based Systems
  • Windows Server 2008 for Itanium-based Systems
 
IntelliShield Analysis

The vulnerability exists in a function that is only used by SMB when accessing disk-based shares.  Systems such as printers that share non-disk resources are not affected. In default configurations, disk access over SMB requires authentication.  An attacker will need to authenticate to an affected system to accomplish an exploit.  Systems with looser access controls may be at greater risk of exploitation.

A successful exploit could allow the attacker to execute arbitrary code with the privileges of the SMB server process, which are typically elevated.  The attacker could execute code resulting in a complete system compromise.  The compromise of a server hosting a number of user or group file shares could result in serious information disclosure because the attacker could access any files on the affected system.

If technical details emerge that allow attackers to develop exploit code for this vulnerability, attackers may adapt malicious, mobile code to exploit the vulnerability to spread automatically.

The Cisco Applied Intelligence team has created an Applied Mitigation Bulletin to address vulnerabilities that Microsoft disclosed in the October 2008 security bulletin release. This Cisco bulletin, which assists administrators in identifying or mitigating these vulnerabilities using Cisco devices, is available at the following link: Cisco Applied Mitigation Bulletin: Microsoft Security Bulletin for October 2008 

The update available from Microsoft corrects this vulnerability by performing proper validation of SMB filenames.

 
Vendor Announcements

Microsoft has released a security bulletin at the following link: MS08-063

 
Impact

An authenticated, remote attacker could exploit the vulnerability to execute arbitrary code on an affected system with elevated privileges.  If successful, the attacker could execute code that could result in a complete system compromise.

 
Technical Information

The vulnerability is due to errors when processing file names on SMB disk-based file stores.  Affected Windows systems use SMB for built-in file sharing services.  The processing of an SMB request containing parameters with malformed filenames could trigger a memory error, resulting in memory corruption. 

An authenticated, remote attacker could exploit the vulnerability by sending a malicious request to an affected system.  The attacker could leverage the resulting memory corruption to execute arbitrary code with the elevated privileges of the SMB file service.

 
Safeguards

Administrators are advised to apply the appropriate updates.

Administrators are advised to restrict access to affected systems.

Administrators are advised to restrict network access on common SMB ports to affected systems.

Administrators may consider disabling SMB file services.

Administrators are advised to monitor critical systems.

 
Patches/Software

Microsoft has released updated software at the following links:


Signatures
 
Cisco Systems Cisco Intrusion Prevention System (IPS) 6.0
7258/0SMB Remote Code ExecutionS36110/14/2008
 
Alert History
 

Initial Release



Product Sets
 
The security vulnerability applies to the following combinations of products.

Primary Products:
Microsoft, Inc.Windows 2000Advanced Server Base, SP1, SP2, SP3, SP4 | Professional Base, SP1, SP2, SP3, SP4 | Server Base, SP1, SP2, SP3, SP4
Microsoft, Inc.Windows Server 2003Datacenter Edition Base, SP1, SP2 | Datacenter Edition, 64-bit (Itanium) Base, SP1, SP2 | Datacenter Edition x64 (AMD/EM64T) Base, SP2 | Enterprise Edition Base, SP1, SP2 | Enterprise Edition, 64-bit (Itanium) Base, SP1, SP2 | Enterprise Edition x64 (AMD/EM64T) Base, SP2 | Standard Edition Base, SP1, SP2 | Standard Edition, 64-bit (Itanium) Base, SP1, SP2 | Standard Edition x64 (AMD/EM64T) Base, SP2 | Web Edition Base, SP1, SP2
Microsoft, Inc.Windows Server 2008Datacenter Edition Base | Datacenter Edition, 64-bit Base | Enterprise Edition Base | Enterprise Edition, 64-bit Base | Itanium-Based Systems Edition Base | Standard Edition Base | Standard Edition, 64-bit Base | Web Server Base | Web Server, 64-bit Base
Microsoft, Inc.Windows VistaBusiness Base, SP1 | Business x64 Edition Base, SP1 | Enterprise Base, SP1 | Enterprise x64 Edition Base, SP1 | Home Basic Base, SP1 | Home Basic x64 Edition Base, SP1 | Home Premium Base, SP1 | Home Premium x64 Edition Base, SP1 | Ultimate Base, SP1 | Ultimate x64 Edition Base, SP1
Microsoft, Inc.Windows XPHome Edition Base, SP1, SP2, SP3 | Professional Edition Base, SP1, SP2, SP3 | Professional x64 (AMD/EM64T) Base, SP2

Associated Products:
N/A



LEGAL DISCLAIMER
The urgency and severity ratings of this alert are not tailored to individual users; users may value alerts differently based upon their network configurations and circumstances. THE ALERT, AND INFORMATION CONTAINED THEREIN, ARE PROVIDED ON AN "AS IS" BASIS AND DO NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE ALERT, AND INFORMATION CONTAINED THEREIN, OR MATERIALS LINKED FROM THE ALERT, IS AT YOUR OWN RISK. INFORMATION IN THIS ALERT AND ANY RELATED COMMUNICATIONS IS BASED ON OUR KNOWLEDGE AT THE TIME OF PUBLICATION AND IS SUBJECT TO CHANGE WITHOUT NOTICE. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.