Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » OpenPKG SA-2003.028: samba remote root exploit

OpenPKG SA-2003.028: samba remote root exploit

by Nikola Strahija on April 9th, 2003 A buffer overflow has been found in the Samba SMB/CIFS server which could allow remote attackerto gain root access on the vulnerable host system.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

OpenPKG Security Advisory The OpenPKG Project
http://www.openpkg.org/security.html http://www.openpkg.org
[email protected] [email protected]
OpenPKG-SA-2003.028 07-Apr-2003
________________________________________________________________________

Package: samba
Vulnerability: remote root exploit
OpenPKG Specific: no

Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= samba-2.2.8-20030405 >= samba-2.2.8a-20030407
OpenPKG 1.2 <= samba-2.2.7a-1.2.1 >= samba-2.2.7a-1.2.2
OpenPKG 1.1 <= samba-2.2.5-1.1.2 >= samba-2.2.5-1.1.3

Dependent Packages: none

Description:
Digital Defense Inc. has discovered [1] a buffer overflow
vulnerability in the Samba SMB/CIFS server [0]. An intruder
exploiting this vulnerability could gain root access on the affected
host system. An active exploit is publically available [2]. The
Common Vulnerabilities and Exposures (CVE) project assigned the id
CAN-2003-0201 [3] to the problem.

Additional buffer overflows were detected by an internal code
audit by the Samba team in response to the original report. The
Common Vulnerabilities and Exposures (CVE) project assigned the id
CAN-2003-0196 [4] to these additional problems.

Please check whether you are affected by running "/bin/rpm -q
samba". If you have the "samba" package installed and its version is
affected (see above), we recommend that you immediately upgrade it
(see Solution). [5][6]

Solution:
Select the updated source RPM appropriate for your OpenPKG release
[7][8], fetch it from the OpenPKG FTP service [9][10] or a mirror
location, verify its integrity [11], build a corresponding binary RPM
from it [5] and update your OpenPKG installation by applying the
binary RPM [6]. For the current release OpenPKG 1.2, perform the
following operations to permanently fix the security problem (for
other releases adjust accordingly).

$ ftp ftp.openpkg.org
ftp> bin
ftp> cd release/1.2/UPD
ftp> get samba-2.2.7a-1.2.2.src.rpm
ftp> bye
$ /bin/rpm -v --checksig samba-2.2.7a-1.2.2.src.rpm
$ /bin/rpm --rebuild samba-2.2.7a-1.2.2.src.rpm
$ su -
# /bin/rpm -Fvh /RPM/PKG/samba-2.2.7a-1.2.2.*.rpm
________________________________________________________________________

References:
[0] http://www.samba.org/
[1] http://www.digitaldefense.net/labs/advisories/DDI-1013.txt
[2] http://www.digitaldefense.net/labs/tools/trans2root.pl
[3] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0201
[4] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0196
[5] http://www.openpkg.org/tutorial.html#regular-source
[6] http://www.openpkg.org/tutorial.html#regular-binary
[7] ftp://ftp.openpkg.org/release/1.1/UPD/samba-2.2.5-1.1.3.src.rpm
[8] ftp://ftp.openpkg.org/release/1.2/UPD/samba-2.2.7a-1.2.2.src.rpm
[9] ftp://ftp.openpkg.org/release/1.1/UPD/
[10] ftp://ftp.openpkg.org/release/1.2/UPD/
[11] http://www.openpkg.org/security.html#signature
________________________________________________________________________

For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG " (ID 63C4CB9F) of the
OpenPKG project which you can retrieve from http://pgp.openpkg.org and
hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
for details on how to verify the integrity of this advisory.
________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Comment: OpenPKG

iD8DBQE+kaEtgHWT4GPEy58RAiOoAKCVvWMPRzUqm9z4toFnmBTRzWIa+wCgkmAL
NMckFEnCJ6J9IvDj7GnPDBk=
=9+Gp
-----END PGP SIGNATURE-----


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »