Samba SMB1 packet code execution

samba-smb1-code-execution (59481) The risk level is classified as HighHigh Risk

Description:

Samba could allow a remote attacker to execute arbitrary code on the system, caused by a memory corruption error. By sending a specially-crafted SMB1 packet, an attacker could exploit this vulnerability to execute arbitrary code.

*CVSS:

Base Score: 7.5
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5.5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

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

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

References:

  • Apple Web site: About Security Update 2010-005.
  • F5 Networks Web site: Release Note: Enterprise Manager version 2.3.0.
  • iDefense Labs Public Advisory: 06.16.10: Samba 3.3.12 Memory Corruption Vulnerability.
  • Oracle Critical Patch Update Advisory - July 2011: Oracle Critical Patch Update Advisory - July 2011.
  • Samba Web site: Samba 3.0.x to 3.3.12 are affected by a memory corruption vulnerability..
  • VMSA-2010-0013 : VMware ESX third party updates for Service Console.
  • XRX11-002: Software Update to Address Buffer Overflow.
  • BID-16057: CPIO File Size Stack Buffer Overflow Vulnerability
  • BID-40235: MIT Kerberos GSS-API Checksum NULL Pointer Dereference Denial Of Service Vulnerability
  • BID-40305: Perl Safe Module 'reval()' and 'rdo()' CVE-2010-1447 Restriction-Bypass Vulnerabilities
  • BID-40884: Samba 'SMB1 Packet Chaining' Unspecified Remote Memory Corruption Vulnerability
  • CVE-2005-4268: Buffer overflow in cpio 2.6-8.FC4 on 64-bit platforms, when creating a cpio archive, allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a file whose size is represented by more than 8 digits.
  • CVE-2010-0624: Heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c in the rmt client functionality in GNU tar before 1.23 and GNU cpio before 2.11 allows remote rmt servers to cause a denial of service (memory corruption) or possibly execute arbitrary code by sending more data than was requested, related to archive filenames that contain a : (colon) character.
  • CVE-2010-1168: The Safe (aka Safe.pm) module before 2.25 for Perl allows context-dependent attackers to bypass intended (1) Safe::reval and (2) Safe::rdo access restrictions, and inject and execute arbitrary code, via vectors involving implicitly called methods and implicitly blessed objects, as demonstrated by the (a) DESTROY and (b) AUTOLOAD methods, related to automagic methods.
  • CVE-2010-1321: The kg_accept_krb5 function in krb5/accept_sec_context.c in the GSS-API library in MIT Kerberos 5 (aka krb5) through 1.7.1 and 1.8 before 1.8.2, as used in kadmind and other applications, does not properly check for invalid GSS-API tokens, which allows remote authenticated users to cause a denial of service (NULL pointer dereference and daemon crash) via an AP-REQ message in which the authenticator's checksum field is missing.
  • CVE-2010-1447: The Safe (aka Safe.pm) module 2.26, and certain earlier versions, for Perl, as used in PostgreSQL 7.4 before 7.4.29, 8.0 before 8.0.25, 8.1 before 8.1.21, 8.2 before 8.2.17, 8.3 before 8.3.11, 8.4 before 8.4.4, and 9.0 Beta before 9.0 Beta 2, allows context-dependent attackers to bypass intended (1) Safe::reval and (2) Safe::rdo access restrictions, and inject and execute arbitrary code, via vectors involving subroutine references and delayed execution.
  • CVE-2010-2063: Buffer overflow in the SMB1 packet chaining implementation in the chain_reply function in process.c in smbd in Samba 3.0.x before 3.3.13 allows remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via a crafted field in a packet.
  • DSA-2052: krb5 -- null pointer dereference
  • DSA-2061: samba -- memory corruption
  • DSA-2267: perl -- restriction bypass
  • MDVSA-2010:065: cpio
  • MDVSA-2010:100: krb5
  • MDVSA-2010:115: perl
  • MDVSA-2010:116: perl
  • MDVSA-2010:119: samba
  • MDVSA-2010:129: heimdal
  • OSVDB ID: 22194: cpio on 64-bit Large File Size Handling Overflow
  • OSVDB ID: 62950: GNU tar rmt Client lib/rtapelib.c rmt_read__ Function Remote Overflow
  • OSVDB ID: 64744: MIT Kerberos 5 GSS-API AP-REQ Authenticator NULL Dereference Remote DoS
  • OSVDB ID: 64756: PostgreSQL Safe Module PL / perl Procedure Restriction Weakness Arbitrary Perl Code Execution (2010-1447)
  • OSVDB ID: 65518: Samba smbd process.c chain_reply Function SMB1 Packet Chaining Memory Corruption
  • RHSA-2007-0245: Low: cpio security and bug fix update
  • RHSA-2010-0141: Moderate: tar security update
  • RHSA-2010-0142: Moderate: tar security update
  • RHSA-2010-0143: Moderate: cpio security update
  • RHSA-2010-0144: Moderate: cpio security update
  • RHSA-2010-0145: Moderate: cpio security update
  • RHSA-2010-0423: Important: krb5 security update
  • RHSA-2010-0457: Moderate: perl security update
  • RHSA-2010-0458: Moderate: perl security update
  • RHSA-2010-0488: Critical: samba and samba3x security update
  • RHSA-2010-0770: Critical: java-1.6.0-sun security update
  • RHSA-2010-0807: Critical: java-1.5.0-ibm security update
  • RHSA-2010-0873: Critical: java-1.5.0-ibm security update
  • RHSA-2010-0935: Moderate: java-1.4.2-ibm security update
  • RHSA-2010-0987: Critical: java-1.6.0-ibm security and bug fix update
  • RHSA-2011-0152: Moderate: java-1.4.2-ibm security update
  • RHSA-2011-0880: Low: Red Hat Network Satellite server IBM Java Runtime security update
  • SA18251: Cpio Large File Size Handling Denial of Service Vulnerability
  • SA38869: GNU Cpio "rmt" Buffer Overflow Vulnerability
  • SA39762: Kerberos GSS-API NULL Pointer Dereference Vulnerability
  • SA39845: PostgreSQL Two Vulnerabilities
  • SA40145: Samba SMB1 Packet Chaining Memory Corruption Vulnerability
  • SA41196: VMware ESX Server Multiple Vulnerabilities
  • SA41262: VMware ESX Server Multiple Vulnerabilities
  • SA41600: Sun Solaris Samba SMB1 Packet Chaining Memory Corruption Vulnerability
  • SA41602: Sun Solaris GSS-API NULL Pointer Dereference Vulnerability
  • SA42280: VMware ESX / ESXi Server Update for Multiple Packages
  • SA42402: Oracle Solaris Perl Safe Module Security Bypass
  • SA42974: Oracle JRockit Multiple Vulnerabilities
  • SA43335: Avaya Communication Manager krb5 GSS-API NULL Pointer Dereference Vulnerability
  • SA43887: Xerox WorkCentre Samba SMB1 Packet Chaining Vulnerability
  • SA47305: F5 Enterprise Manager Multiple Vulnerabilities
  • SECTRACK ID: 1023988: PostgreSQL Flaws in Safe.pm and PL/Perl Let Remote Authenticated Users Gain Elevated Privileges
  • SECTRACK ID: 1024062: Perl Safe Module (Safe::reval and Safe::rdo) Can Be Bypassed
  • SECTRACK ID: 1024107: Samba SMB1 Packet Chaining Memory Corruption Error Lets Remote Users Execute Arbitrary Code
  • SUSE-SA:2010:025: Samba security update
  • SUSE-SA:2011:006: IBM Java 6 security update
  • SUSE-SA:2011:014: IBM Java security update
  • SUSE-SR:2010:011: SUSE Security Summary Report
  • SUSE-SR:2010:013: SUSE Security Summary Report
  • SUSE-SR:2010:015: SUSE Security Summary Report
  • SUSE-SR:2010:016: SUSE Security Summary Report
  • SUSE-SR:2010:019: SUSE Security Summary Report
  • SUSE-SR:2011:008: SUSE Security Summary Report

Platforms Affected:

  • Apple Mac OS X 10.5.8
  • Apple Mac OS X 10.6.4
  • Apple Mac OS X Server 10.5.8
  • Apple Mac OS X Server 10.6.4
  • Debian Debian Linux 5.0
  • F5 Enterprise Manager 2.0
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • Mandriva Enterprise Server 5 X86_64
  • Mandriva Enterprise Server 5
  • Mandriva Linux 2009.0
  • Mandriva Linux 2009.0 X86_64
  • Mandriva Linux 2009.1
  • Mandriva Linux 2009.1 X86_64
  • Mandriva Linux 2010
  • Mandriva Linux 2010 X86_64
  • Novell Linux POS 9
  • Novell Open Enterprise Server
  • Novell OpenSUSE 11.0
  • Novell SLE SDK 10
  • Novell SUSE Linux Enterprise Server 10
  • Oracle Security Service 11.1.1.3
  • Oracle Security Service 11.1.1.4
  • Oracle Security Service 11.1.1.5
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4.7.z AS
  • RedHat Enterprise Linux 4.8.z ES
  • RedHat Enterprise Linux 4.8.z AS
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5.3.z EUS
  • RedHat Enterprise Linux 5.4.z EUS
  • RedHat Enterprise Linux 6 Workstation
  • RedHat Enterprise Linux Desktop Supplementary 6
  • RedHat Enterprise Linux HPC Node Supplementary 6
  • RedHat Enterprise Linux Long Life 5.3
  • RedHat Enterprise Linux Server Supplementary 6
  • RedHat Enterprise Linux Workstation Supplementary 6
  • RedHat Red Hat Enterprise Linux 4.7.z ES
  • RedHat Red Hat Enterprise Linux 4.8.z Extras
  • RedHat RHEL Desktop Supplementary 5 Client
  • RedHat RHEL Extras 4
  • RedHat RHEL Supplementary 5 Server
  • Samba Samba 3.0
  • Samba Samba 3.0.0
  • Samba Samba 3.0.1
  • Samba Samba 3.0.10
  • Samba Samba 3.0.11
  • Samba Samba 3.0.12
  • Samba Samba 3.0.13
  • Samba Samba 3.0.14
  • Samba Samba 3.0.14a
  • Samba Samba 3.0.15
  • Samba Samba 3.0.16
  • Samba Samba 3.0.17
  • Samba Samba 3.0.18
  • Samba Samba 3.0.19
  • Samba Samba 3.0.2
  • Samba Samba 3.0.20
  • Samba Samba 3.0.20a
  • Samba Samba 3.0.20b
  • Samba Samba 3.0.21
  • Samba Samba 3.0.21a
  • Samba Samba 3.0.21b
  • Samba Samba 3.0.21c
  • Samba Samba 3.0.22
  • Samba Samba 3.0.23
  • Samba Samba 3.0.23a
  • Samba Samba 3.0.23b
  • Samba Samba 3.0.23c
  • Samba Samba 3.0.23d
  • Samba Samba 3.0.24
  • Samba Samba 3.0.25 Rc3
  • Samba Samba 3.0.25 Rc2
  • Samba Samba 3.0.25
  • Samba Samba 3.0.25 Pre1
  • Samba Samba 3.0.25 Rc1
  • Samba Samba 3.0.25 Pre2
  • Samba Samba 3.0.25a
  • Samba Samba 3.0.25b
  • Samba Samba 3.0.25c
  • Samba Samba 3.0.26
  • Samba Samba 3.0.26a
  • Samba Samba 3.0.27
  • Samba Samba 3.0.27a
  • Samba Samba 3.0.28
  • Samba Samba 3.0.28a
  • Samba Samba 3.0.29
  • Samba Samba 3.0.2a
  • Samba Samba 3.0.3
  • Samba Samba 3.0.30
  • Samba Samba 3.0.31
  • Samba Samba 3.0.32
  • Samba Samba 3.0.33
  • Samba Samba 3.0.34
  • Samba Samba 3.0.35
  • Samba Samba 3.0.36
  • Samba Samba 3.0.37
  • Samba Samba 3.0.4 Rc1
  • Samba Samba 3.0.4
  • Samba Samba 3.0.5
  • Samba Samba 3.0.6
  • Samba Samba 3.0.7
  • Samba Samba 3.0.8
  • Samba Samba 3.0.9
  • Samba Samba 3.1
  • Samba Samba 3.2
  • Samba Samba 3.2.0
  • Samba Samba 3.2.1
  • Samba Samba 3.2.10
  • Samba Samba 3.2.11
  • Samba Samba 3.2.12
  • Samba Samba 3.2.13
  • Samba Samba 3.2.14
  • Samba Samba 3.2.15
  • Samba Samba 3.2.2
  • Samba Samba 3.2.3
  • Samba Samba 3.2.4
  • Samba Samba 3.2.5
  • Samba Samba 3.2.6
  • Samba Samba 3.2.7
  • Samba Samba 3.2.8
  • Samba Samba 3.2.9
  • Samba Samba 3.3
  • Samba Samba 3.3.0
  • Samba Samba 3.3.1
  • Samba Samba 3.3.10
  • Samba Samba 3.3.11
  • Samba Samba 3.3.12
  • Samba Samba 3.3.2
  • Samba Samba 3.3.3
  • Samba Samba 3.3.4
  • Samba Samba 3.3.5
  • Samba Samba 3.3.6
  • Samba Samba 3.3.7
  • Samba Samba 3.3.8
  • Samba Samba 3.3.9
  • SuSE SuSE SLES 9
  • VMware ESX Server 3.0.0
  • VMware ESX Server 4.0
  • Xerox WorkCentre 5735
  • Xerox WorkCentre 5740
  • Xerox WorkCentre 5745
  • Xerox WorkCentre 5755
  • Xerox WorkCentre 5765
  • Xerox WorkCentre 5775
  • Xerox WorkCentre 5790

Reported:

Jun 16, 2010

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 Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.