Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (File Transfer/Sharing)  >   Samba Vendors:
(Fedora Issues Fix for RH Linux) Samba DOS Path Conversion Flaw Discloses Files to Remote Users
SecurityTracker Alert ID:  1011698
SecurityTracker URL:
CVE Reference:   CVE-2004-0815   (Links to External Site)
Date:  Oct 15 2004
Impact:   Disclosure of system information, Disclosure of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.2 - 2.2.11, 3.0 - 3.0.5
Description:   A vulnerability was reported in Samba. A remote user may be able to access files located outside of the shared directory's path.

The vendor reported that there is an input validation flaw in the conversion of MS-DOS path names. A remote user can exploit the flaw to access files on the target system that are located outside of the share path defined in 'smb.conf'. Files can be viewed with the privileges of the target account.

Systems with the 'wide links = no' line in 'smb.conf' are not vulnerable.

The vendor credits iDEFENSE and Karol Wiesek with reporting this flaw.

Impact:   A remote user may be able to view files on the target system that are located outside of the defined share path.
Solution:   Fedora has released a fix.

Red Hat Linux 7.3:



Red Hat Linux 9:



The SHA1 verification checksums are:

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.73.3.legacy.i386.rpm
dd63b4ad6c403a047bae4bbe81dfd75f48f01f08 7.3/updates/i386/samba-client-2.2=2E12-0.73.3.legacy.i386.rpm
2f892a49daf3c697cdb02fc16de2a2fc81aa04f3 7.3/updates/i386/samba-common-2.2=2E12-0.73.3.legacy.i386.rpm
ee604ea7806346255eb3c6b92e1a838e81454ca3 7.3/updates/i386/samba-swat-2.2.12-0.73.3.legacy.i386.rpm
2097a23c4ff2da4582423bd800784defe58d47ad 9/updates/SRPMS/samba-2.2.12-0.90=2E2.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.12-0.90.2.legacy.i386.rpm
d402939d7c87738c55494c8b4c0ad0e220add666 9/updates/i386/samba-common-2.2.12-0.90.2.legacy.i386.rpm
2f87ec8bbd4bdf3362c9c4906b4b09ffb4ec274e 9/updates/i386/samba-swat-2.2.12-0.90.2.legacy.i386.rpm

Vendor URL: (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  7.3, 9

Message History:   This archive entry is a follow-up to the message listed below.
Sep 30 2004 Samba DOS Path Conversion Flaw Discloses Files to Remote Users

 Source Message Contents

Subject:  [Full-Disclosure] [FLSA-2004:2102] Updated samba packages fix security vulnerability [updated]

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

               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:
CVE Names:         CAN-2004-0686, CAN-2004-0815

1. Topic:

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

Updated samba packages that fix an input validation vulnerability are now

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 =3D hash' smb.conf option. The Common Vulnerabilities
and Exposures project ( 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
( 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 for directions on how to configure yum
and apt-get.

5. Bug IDs fixed: - 2102 -=20
CAN-2004-0815 samba Potential Arbitrary File Access

6. RPMs required:

Red Hat Linux 7.3:



Red Hat Linux 9:



7. Verification:

SHA1 sum                                 Package Name

780ea2a7d636d4cfee6a9c8c8b5bfe6af81ad82e  7.3/updates/SRPMS/samba-2.2.12-0.=
c140b41cba68e46f3c90a2079aa7f6ea8b521ebd  7.3/updates/i386/samba-2.2.12-0.7=
dd63b4ad6c403a047bae4bbe81dfd75f48f01f08  7.3/updates/i386/samba-client-2.2=
2f892a49daf3c697cdb02fc16de2a2fc81aa04f3  7.3/updates/i386/samba-common-2.2=
ee604ea7806346255eb3c6b92e1a838e81454ca3  7.3/updates/i386/samba-swat-2.2.1=
2097a23c4ff2da4582423bd800784defe58d47ad  9/updates/SRPMS/samba-2.2.12-0.90=
f0e57bd0d503fc74336130229bbed573adb60ea5  9/updates/i386/samba-2.2.12-0.90.=
96a623119fef8df0e76aef3ea486632eab8b4c2c  9/updates/i386/samba-client-2.2.1=
d402939d7c87738c55494c8b4c0ad0e220add666  9/updates/i386/samba-common-2.2.1=
2f87ec8bbd4bdf3362c9c4906b4b09ffb4ec274e  9/updates/i386/samba-swat-2.2.12-=

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:

9. Contact:

The Fedora Legacy security contact is <>. More
project details at


Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (GNU/Linux)



Full-Disclosure - We believe in it.


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC