Samba receive_smb_raw() buffer overflow

samba-receivesmbraw-bo (42664) The risk level is classified as HighHigh Risk

Description:

Samba is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the receive_smb_raw() function when handling SMB packets. By persuading a victim to connect to a malicious server or by sending specially-crafted packets to a local or domain-master-browser configured "nmbd" server, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.

*CVSS:

Base Score: 6.8
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5.3
  Exploitability: Proof-of-Concept
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Samba (3.0.30 or later), available from the Samba Web site. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • NORTEL BULLETIN ID: 2009009315, Rev 1: Nortel Response to Sun Alert 249086 - Security Vulnerability in Solaris samba(7) Specially Crafted Packet .
  • Samba Web site: Samba - opening windows to a wider world.
  • Secunia Research 28/05/2008: Samba "receive_smb_raw()" Buffer Overflow Vulnerability.
  • Sun Alert ID: 249086: Security Vulnerability in samba(7) Specially Crafted Packet May Allow Execution of Arbitrary Code With Root Privileges.
  • VMware Security-Announce Mailing List, Mon Jul 28 18:11:35 PDT 2008: VMSA-2008-00011 Updated ESX service console packages for Samba and vmnix.
  • ASA-2008-263: HP-UX running HP CIFS Server (Samba) Remote Execution of Arbitrary Code (HPSBUX02341)
  • ASA-2008-266: samba security update (RHSA-2008-0288)
  • BID-29404: Samba 'receive_smb_raw()' Buffer Overflow Vulnerability
  • BID-31255: RETIRED: Xerox WorkCentre/WorkCentre Pro Network Controller Remote Code Execution Vulnerability
  • CVE-2008-1105: Heap-based buffer overflow in the receive_smb_raw function in util/sock.c in Samba 3.0.0 through 3.0.29 allows remote attackers to execute arbitrary code via a crafted SMB response.
  • DSA-1590: samba -- buffer overflow
  • GLSA-200805-23: Samba: Heap-based buffer overflow
  • MDVSA-2008:108: Updated samba packages fix arbitrary code execution vulnerability
  • RHSA-2008-0288: Critical: samba security update
  • RHSA-2008-0289: Critical: samba security update
  • RHSA-2008-0290: Critical: samba security and bug fix update
  • SA30228: Samba "receive_smb_raw()" Buffer Overflow Vulnerability
  • SA30802: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SA30835: HP-UX HP CIFS Server Multiple Vulnerabilities
  • SA31246: VMware ESX Server update for Samba and vmnix
  • SA31911: Xerox ESS/Network Controller Samba Vulnerability
  • SA33696: Sun Solaris Samba "receive_smb_raw()" Buffer Overflow Vulnerability
  • SECTRACK ID: 1020123: Samba Buffer Overflow in receive_smb_raw() Lets Remote Users Execute Arbitrary Code
  • SUSE-SA:2008:026: Samba Security problem

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 7.04
  • Canonical Ubuntu 7.10
  • Canonical Ubuntu 8.04 LTS
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux 2008.1 X86_64
  • MandrakeSoft Mandrake Linux 2008.1
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • Novell Linux Desktop 9
  • Novell Linux POS 9
  • Novell Open Enterprise Server
  • Novell OpenSUSE 10.2
  • Novell OpenSUSE 10.3
  • Novell SLE SDK 10 SP2
  • Novell SLE SDK 10
  • Novell SLE SDK 10 SP1
  • Novell SUSE Linux Enterprise Desktop 10 SP2
  • Novell SUSE Linux Enterprise Desktop 10 SP1
  • Novell SUSE Linux Enterprise Server 10
  • Novell SUSE Linux Enterprise Server 10 SP2
  • Novell SUSE Linux Enterprise Server 10 SP1
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4.5.z ES
  • RedHat Enterprise Linux 4.5.z AS
  • RedHat Enterprise Linux 4.6.z ES
  • RedHat Enterprise Linux 4.6.z AS
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5.2.z EUS
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • Samba Samba 3.0.28a
  • Samba Samba 3.0.29
  • Sun Solaris 10 x86
  • Sun Solaris 10 SPARC
  • Sun Solaris 9 SPARC
  • Sun Solaris 9 x86
  • SuSE SuSE SLES 9
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 10 Server x64 Ed
  • Turbolinux Turbolinux 11 Server
  • Turbolinux Turbolinux 11 Server x64 Ed
  • Turbolinux Turbolinux FUJI
  • Turbolinux Turbolinux Appliance Server 2.0
  • VMware ESX Server 2.5.4
  • VMware ESX Server 2.5.5
  • VMware ESX Server 3.0.1
  • VMware ESX Server 3.0.2
  • VMware ESX Server 3.5

Reported:

May 28, 2008

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.