(Conectiva Issues Fix) Samba Buffer Overflows in Web Administration Tool and in 'hash' Mangling Method May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1010830 |
|
SecurityTracker URL: http://securitytracker.com/id/1010830
|
|
CVE Reference:
CAN-2004-0600, CAN-2004-0686
(Links to External Site)
|
Date: Jul 31 2004
|
Impact:
Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): prior to 2.2.10 and also 3.0.0 - 3.0.4
|
Description:
Two buffer overflow vulnerabilities were reported in Samba, affecting the Samba Web Administration Tool and systems using the 'hash' mangling method. A remote user may be able to execute arbitrary code on the target system.
Evgeny Demidov reported that there is a buffer overflow in the Samba Web Administration Tool (SWAT) in versions 3.0.2 - 3.0.4. A remote user can supply a specially crafted HTTP Basic Authentication header containing an invalid Base64 character to trigger the overflow and execute arbitrary code on the target system [CVE: CAN-2004-0600].
The vendor reported that the affected code is also used to decode LDAP sambaMungedDial attribute values on systems that use the ldapsam passdb backend. Although the vendor believes that this is not exploitable, LDAP users are encouraged to verify that the DIT only allows write access to sambaSamAccount attributes by a sufficiently authorized user.
The vendor was reportedly notified on July 14, 2004.
The vendor discovered a separate buffer overflow in the code that processes the 'mangling method = hash' option from the 'smb.conf' file [CVE: CAN-2004-0686]. Samba versions 3.0.0 and later are affected. The default setting of 'mangling method = hash2' is not vulnerable.
|
Impact:
A remote user may be able to execute arbitrary code on the target system.
|
Solution:
Conectiva has released a fix.
ftp://atualizacoes.conectiva.com.br/8/SRPMS/samba-2.2.10-1U80_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-clients-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-codepagesource-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-common-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-doc-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-swat-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/samba-2.2.10-27520U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-clients-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-codepagesource-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-common-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-devel-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-doc-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-ldap-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-swat-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-vfs-2.2.10-27520U90_1cl.i386.rpm
|
Vendor URL: www.samba.org/ (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Linux (Conectiva)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Fri, 30 Jul 2004 11:38:58 -0300
Subject: [Conectiva-updates] [CLA-2004:854] Conectiva Security Announcement
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT
- --------------------------------------------------------------------------
PACKAGE : samba
SUMMARY : Multiple potential buffer overruns
DATE : 2004-07-30 11:35:00
ID : CLA-2004:854
RELEVANT
RELEASES : 8, 9
- -------------------------------------------------------------------------
DESCRIPTION
Samba[1] provides SMB/CIFS services (such as file and printer
sharing) used by clients compatible with Microsoft Windows(TM).
Evgeny Demidov noticed that the internal routine used by the Samba
Web Administration Tool (SWAT) to decode the base64 data during HTTP
basic authentication is subject[2] to a buffer overrun caused by an
invalid base64 character. This same code is used internally to
decode the sambaMungedDial attribute value when using the ldapsam
passdb backend and to decode input given to the ntlm_auth tool.
Another buffer overrun problem[3] 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 is 'mangling method
= hash2' and therefore not vulnerable.
SOLUTION
It is recommended that all samba users upgrade their packages. This
update will automatically restart the service if it is already
running.
REFERENCES
1.http://www.samba.org/
2.http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0600
3.http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0686
UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/8/SRPMS/samba-2.2.10-1U80_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-clients-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-codepagesource-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-common-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-doc-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/samba-swat-2.2.10-1U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/samba-2.2.10-27520U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-clients-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-codepagesource-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-common-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-devel-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-doc-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-ldap-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-swat-2.2.10-27520U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/samba-vfs-2.2.10-27520U90_1cl.i386.rpm
ADDITIONAL INSTRUCTIONS
The apt tool can be used to perform RPM packages upgrades:
- run: apt-get update
- after that, execute: apt-get upgrade
Detailed instructions regarding the use of apt and upgrade examples
can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en
- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en
- -------------------------------------------------------------------------
Copyright (c) 2004 Conectiva Inc.
http://www.conectiva.com
- -------------------------------------------------------------------------
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFBCl2B42jd0JmAcZARAjrgAKDjX9lnz98upP3l37fASb2th6lmSACgupMO
LeJkjokwfyaJZzMn+74MGyE=
=+jlF
-----END PGP SIGNATURE-----
______________________________________________________________________
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
|
|