Samba versions greater or equal to 2.2.29 and 3.0.0 have a buffer overrun located in the code used to support the mangling method = hash smb.conf option. Versions 3.0.2 suffer from buffer overrun in an internal routine used to decode base64 data during HTTP basic authentication.
678349fe0f5740544c4c032a294d1fb0aaa173deede39851cd1f4a8580219ec0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Summary: Potential Buffer Overruns in Samba 3.0 and Samba 2.2
CVE ID: CAN-2004-0600, CAN-2004-0686
~ (https://cve.mitre.org/)
- -------------
CAN-2004-0600
- -------------
Affected Versions: >= v3.0.2
The internal routine used by the Samba Web Administration
Tool (SWAT v3.0.2 and later) to decode the base64 data
during HTTP basic authentication is subject to a buffer
overrun caused by an invalid base64 character. It is
recommended that all Samba v3.0.2 or later installations
running SWAT either (a) upgrade to v3.0.5, or (b) disable
the swat administration service as a temporary workaround.
This same code is used internally to decode the
sambaMungedDial attribute value when using the ldapsam
passdb backend. While we do not believe that the base64
decoding routines used by the ldapsam passdb backend can
be exploited, sites using an LDAP directory service with
Samba are strongly encouraged to verify that the DIT only
allows write access to sambaSamAccount attributes by a
sufficiently authorized user.
The Samba Team would like to heartily thank Evgeny Demidov
for analyzing and reporting this bug.
- -------------
CAN-2004-0686
- -------------
Affected Versions: >= v2.2.9, >= v3.0.0
A buffer overrun has been located in the code used to support
the 'mangling method = hash' smb.conf option. Please be aware
that the default setting for this parameter in Samba 3 is
'mangling method = hash2' and therefore not vulnerable.
Affected Samba installations can avoid this possible security
bug by using the hash2 mangling method. Server installations
requiring the hash mangling method are encouraged to upgrade
to Samba 3.0.5 (or 2.2.10).
~ --------------------------------------
Samba 3.0.5 and 2.2.10 are identical to the previous release
in each respective series with the exception of fixing these
issues. Samba 3.0.5rc1 has been removed from the download area
on Samba.org and 3.0.6rc2 will be available later this week.
The source code can be downloaded from :
~ https://download.samba.org/samba/ftp/
The uncompressed tarball and patch file have been signed
using GnuPG. The Samba public key is available at
~ https://download.samba.org/samba/ftp/samba-pubkey.asc
Binary packages are available at
~ https://download.samba.org/samba/ftp/Binary_Packages/
The release notes are also available on-line at
~ https://www.samba.org/samba/whatsnew/samba-3.0.5.html
~ https://www.samba.org/samba/whatsnew/samba-2.2.10.html
Our code, Our bugs, Our responsibility.
(Samba Bugzilla -- https://bugzilla.samba.org/)
~ -- The Samba Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - https://enigmail.mozdev.org
iD8DBQFA/6GdIR7qMdg1EfYRAhGYAJ9wsFUb4+1Nu3shPQn12O5tXQAe1ACgvs6a
HxsnDPYXoL+q5UoYb6/2iJA=
=YCOV
-----END PGP SIGNATURE-----