(Red Hat Issues Fix) Samba Buffer Overflow in receive_smb_raw() Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID: 1020126|
SecurityTracker URL: http://securitytracker.com/id/1020126
(Links to External Site)
Date: May 28 2008
Execution of arbitrary code via network, User access via network|
Fix Available: Yes Vendor Confirmed: Yes |
A vulnerability was reported in Samba. A remote user can execute arbitrary code on the target system.|
A remote server can send a specially crafted SMB packet to a connected client to trigger a heap overflow in receive_smb_raw() and execute arbitrary code on the target client system.
A remote user can also send a specially crafted print request to a target nmbd server to execute arbitrary code on the target server. The code will run with the privileges of the target service.
The vulnerability resides in 'lib/util_sock.c'.
The vendor was notified on May 15, 2008.
Alin Rad Pop of Secunia Research reported this vulnerability.
The original advisory is available at:
A remote user can execute arbitrary code on the target system.|
Red Hat has released a fix.|
The Red Hat advisory is available at:
Vendor URL: samba.org/samba/security/CVE-2008-1105.html (Links to External Site)
|Underlying OS: Linux (Red Hat Enterprise)|
|Underlying OS Comments: 5|
This archive entry is a follow-up to the message listed below.|
Source Message Contents
Subject: [RHSA-2008:0290-01] Critical: samba security and bug fix update|
-----BEGIN PGP SIGNED MESSAGE-----
Red Hat Security Advisory
Synopsis: Critical: samba security and bug fix update
Advisory ID: RHSA-2008:0290-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2008-0290.html
Issue date: 2008-05-28
CVE Names: CVE-2008-1105
Updated samba packages that fix a security issue and two bugs are now
available for Red Hat Enterprise Linux 5.
This update has been rated as having critical security impact by the Red
Hat Security Response Team.
2. Relevant releases/architectures:
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Samba is a suite of programs used by machines to share files, printers, and
A heap-based buffer overflow flaw was found in the way Samba clients handle
over-sized packets. If a client connected to a malicious Samba server, it
was possible to execute arbitrary code as the Samba client user. It was
also possible for a remote user to send a specially crafted print request
to a Samba server that could result in the server executing the vulnerable
client code, resulting in arbitrary code execution with the permissions of
the Samba server. (CVE-2008-1105)
Red Hat would like to thank Alin Rad Pop of Secunia Research for
responsibly disclosing this issue.
This update also addresses two issues which prevented Samba from joining
certain Windows domains with tightened security policies, and prevented
certain signed SMB content from working as expected:
* when some Windows® 2000-based domain controllers were set to use
mandatory signing, Samba clients would drop the connection because of an
error when generating signatures. This presented as a "Server packet had
invalid SMB signature" error to the Samba client. This update corrects the
signature generation error.
* Samba servers using the "net ads join" command to connect to a Windows
Server® 2003-based domain would fail with "failed to get schannel session
key from server" and "NT_STATUS_ACCESS_DENIED" errors. This update
correctly binds to the NETLOGON share, allowing Samba servers to connect to
the domain properly.
Users of Samba are advised to upgrade to these updated packages, which
contain a backported patch to resolve these issues.
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
5. Bugs fixed (http://bugzilla.redhat.com/):
444637 - Join fails with stricter w2k3 security options set
446724 - CVE-2008-1105 Samba client buffer overflow
447380 - Signing issue: "Server packet had invalid SMB signature" with some Win2K servers
6. Package List:
Red Hat Enterprise Linux Desktop (v. 5 client):
Red Hat Enterprise Linux (v. 5 server):
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
The Red Hat security contact is <firstname.lastname@example.org>. More contact
details at https://www.redhat.com/security/team/contact/
Copyright 2008 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-----END PGP SIGNATURE-----
Enterprise-watch-list mailing list