FLSA-2004:2102: Updated samba packages fix security vulnerability [updated]
Posted on: 10/15/2004 03:29 AM

An updated Samba package has been released for Red Hat Linux 7.3 and 9

-----------------------------------------------------------------------
Fedora Legacy Update Advisory

Synopsis: Updated samba resolves security vulnerabilities
Advisory ID: FLSA:2102
Issue date: 2004-10-14
Product: Red Hat Linux
Keywords: Security
Cross references: https://bugzilla.fedora.us/show_bug.cgi?id=2102
CVE Names: CAN-2004-0686, CAN-2004-0815
-----------------------------------------------------------------------


-----------------------------------------------------------------------
1. Topic:

[Updated 14th October to correct broken packages and document further fixes]

Updated samba packages that fix an input validation vulnerability are now available.

Samba provides file and printer sharing services to SMB/CIFS clients.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 9 - i386

3. Problem description:

The Samba team discovered a buffer overflow in the code used to support the 'mangling method = hash' smb.conf option. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0686 to this issue.

Karol Wiesek discovered an input validation issue in Samba prior to 3.0.6. An authenticated user could send a carefully crafted request to the Samba server, which would allow access to files outside of the configured file share. Note: Such files would have to be readable by the account used for the connection. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0815 to this issue.

Users of Samba should upgrade to these updated packages, which contain an upgrade to Samba-2.2.12, which is not vulnerable to these issues.

A previous version of this advisory referred to packages which had been incorrectly built to not include some of the optional features which were previously enabled.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs.

Please note that this update is also available via yum and apt. Many people find this an easier way to apply updates. To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. This assumes that you have yum or apt-get configured for obtaining Fedora Legacy content. Please visit http://www.fedoralegacy.org/docs/ for directions on how to configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - 2102 -

CAN-2004-0815 samba Potential Arbitrary File Access

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/samba-2.2.12-0.73
.3.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/samba-2.2.12-0.73.
3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/samba-client-2.2.1
2-0.73.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/samba-common-2.2.1
2-0.73.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/samba-swat-2.2.12-
0.73.3.legacy.i386.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/samba-2.2.12-0.90.2
.legacy.src.rpm

i386:

http://download.fedoralegacy.org/redhat/9/updates/i386/samba-2.2.12-0.90.2.
legacy.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/samba-client-2.2.12-
0.90.2.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/samba-common-2.2.12-
0.90.2.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/samba-swat-2.2.12-0.
90.2.legacy.i386.rpm

7. Verification:

SHA1 sum Package Name
---------------------------------------------------------------------------

780ea2a7d636d4cfee6a9c8c8b5bfe6af81ad82e 7.3/updates/SRPMS/samba-2.2.12-0.
73.3.legacy.src.rpm
c140b41cba68e46f3c90a2079aa7f6ea8b521ebd 7.3/updates/i386/samba-2.2.12-0.7
3.3.legacy.i386.rpm
dd63b4ad6c403a047bae4bbe81dfd75f48f01f08 7.3/updates/i386/samba-client-2.2
.12-0.73.3.legacy.i386.rpm
2f892a49daf3c697cdb02fc16de2a2fc81aa04f3 7.3/updates/i386/samba-common-2.2
.12-0.73.3.legacy.i386.rpm
ee604ea7806346255eb3c6b92e1a838e81454ca3 7.3/updates/i386/samba-swat-2.2.1
2-0.73.3.legacy.i386.rpm
2097a23c4ff2da4582423bd800784defe58d47ad 9/updates/SRPMS/samba-2.2.12-0.90
.2.legacy.src.rpm
f0e57bd0d503fc74336130229bbed573adb60ea5 9/updates/i386/samba-2.2.12-0.90.
2.legacy.i386.rpm
96a623119fef8df0e76aef3ea486632eab8b4c2c 9/updates/i386/samba-client-2.2.1
2-0.90.2.legacy.i386.rpm
d402939d7c87738c55494c8b4c0ad0e220add666 9/updates/i386/samba-common-2.2.1
2-0.90.2.legacy.i386.rpm
2f87ec8bbd4bdf3362c9c4906b4b09ffb4ec274e 9/updates/i386/samba-swat-2.2.12-
0.90.2.legacy.i386.rpm

These packages are GPG signed by Fedora Legacy for security. Our key is available from http://www.fedoralegacy.org/about/security.php

You can verify each package with the following command:

rpm --checksig -v filename

If you only wish to verify that each package has not been corrupted or tampered with, examine only the sha1sum with the following command:

sha1sum filename

8. References:

http://us4.samba.org/samba/news/#security_2.2.12
http://rhn.redhat.com/errata/RHSA-2004-498.html

9. Contact:

The Fedora Legacy security contact is secnotice@fedoralegacy.org. More project details at http://www.fedoralegacy.org


Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/flsa_20042102_updated_samba_packages_fix_security_vulnerability_updated.html)