Samba send_mailslot function buffer overflow
| samba-sendmailslot-bo (38965) |
Description:
Samba is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the send_mailslot function. If the domain logons option is enabled, a remote attacker could send a specially-crafted GETDC mailslot request, to overflow a buffer and execute arbitrary code on the system with elevated privileges 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.28 or later), available from the Samba Web site. See References.
For Apple Mac OS X:
Apply Apple Security Update 2008-001 or upgrade to the latest version of Mac OS X (10.5.2 or later), available from the Apple Web site. See References.
For other distributions:
Contact your vendor for patch or upgrade information.
References:
- Apple Web site: About the security content of Mac OS X 10.5.2 and Security Update 2008-001.
- HPSBUX02316 SSRT071495 rev.1: HP-UX running HP CIFS Server (Samba), Remote Execution of Arbitrary Code.
- Samba Web site: CVE-2007-6015 - Remote Code Execution in Samba's nmbd (send_mailslot()).
- Secunia Research 10/12/2007: Samba "send_mailslot()" Buffer Overflow Vulnerability.
- Sun Alert ID: 238251: A Security Vulnerability in samba(7) Domain logons may allow execution of Arbitrary code with Root privileges.
- VMware Security-Announce Mailing List, Thu Feb 21 11:00:48 PST 2008: VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates.
- ASA-2007-520: Samba security and bug fix update (RHSA-2007-1114)
- ASA-2008-224: A Security Vulnerability in samba(7) Domain logons may allow execution of Arbitrary code with Root privileges (Sun 238251)
- ASA-2008-263: HP-UX running HP CIFS Server (Samba) Remote Execution of Arbitrary Code (HPSBUX02341)
- BID-26791: Samba Send_MailSlot Stack-Based Buffer Overflow Vulnerability
- CVE-2007-6015: Stack-based buffer overflow in the send_mailslot function in nmbd in Samba 3.0.0 through 3.0.27a, when the domain logons option is enabled, allows remote attackers to execute arbitrary code via a GETDC mailslot request composed of a long GETDC string following an offset username in a SAMLOGON logon request.
- DSA-1427: samba -- buffer overflow
- GLSA-200712-10: Samba: Execution of arbitrary code
- MDKSA-2007:244: Updated samba packages fix vulnerability
- RHSA-2007-1114: Critical: samba security and bug fix update
- RHSA-2007-1117: Critical: samba security update
- SA27760: Samba "send_mailslot()" Buffer Overflow Vulnerability
- SA28089: Avaya Products Samba "send_mailslot()" Buffer Overflow
- SA28891: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA29341: HP-UX HP CIFS Server Multiple Vulnerabilities
- SA30484: Solaris Samba Multiple Vulnerabilities
- SA30835: HP-UX HP CIFS Server Multiple Vulnerabilities
- SECTRACK ID: 1019065: Samba Buffer Overflow in nmbd send_mailslot() Lets Remote Users Execute Arbitrary Code
- SUSE-SA:2007:068: samba security problems
Platforms Affected:
- Apple Mac OS X 10.4.11
- Apple Mac OS X 10.5
- Apple Mac OS X 10.5.1
- Apple Mac OS X Server 10.4.11
- Apple Mac OS X Server 10.5
- Apple Mac OS X Server 10.5.1
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 6.10
- Canonical Ubuntu 7.04
- Canonical Ubuntu 7.10
- Debian Debian Linux 3.1
- Debian Debian Linux 4.0
- Gentoo Linux
- HP HP-UX B.11.11
- HP HP-UX B.11.23
- HP HP-UX B.11.31
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- Novell Linux Desktop 9
- Novell Linux POS 9
- Novell Open Enterprise Server
- Novell Open Enterprise Server
- Novell OpenSUSE 10.2
- Novell OpenSUSE 10.3
- Novell SLE SDK 10 SP1
- Novell SLE SDK 10
- Novell SUSE Linux Enterprise Desktop 10 SP1
- Novell SUSE Linux Enterprise Server 10
- Novell SUSE Linux Enterprise Server 10 SP1
- Novell UnitedLinux 1.0
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4.5.z AS
- RedHat Enterprise Linux 4.5.z ES
- RedHat Enterprise Linux 5 Client
- RedHat Enterprise Linux 5
- RedHat Linux Advanced Workstation 2.1 Itanium
- Samba Samba 3.0.27a
- Sun Solaris 10 x86
- Sun Solaris 10 SPARC
- Sun Solaris 9 x86
- Sun Solaris 9 SPARC
- SuSE SuSE Linux Retail Solution 8
- 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 8 Server
- Turbolinux Turbolinux FUJI
- Turbolinux Turbolinux Multimedia
- Turbolinux Turbolinux Personal
- Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
- Turbolinux Turbolinux Appliance Server 2.0
Reported:
Dec 10, 2007
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 xforce@iss.net
* 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.
