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:  1011666
SecurityTracker URL:
CVE Reference:   CVE-2004-0815   (Links to External Site)
Date:  Oct 13 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 issued a fix.

Red Hat Linux 7.3:



Red Hat Linux 9:



The verification checksums are:

SHA1 sum Package Name

664447fbbf1371174b601099d18102023537ecbf 7.3/updates/SRPMS/samba-2.2.12-0.73.2.legacy.src.rpm
ab34e621cdaa5ad567276244eb2ed2234c418890 7.3/updates/i386/samba-2.2.12-0.73.2.legacy.i386.rpm
aaae87969ae3287e432503cee8fbcb83525d020e 7.3/updates/i386/samba-client-2.2.12-0.73.2.legacy.i386.rpm
728d7f6d68dc837fd874ac870e5d2241e2514a6d 7.3/updates/i386/samba-common-2.2.12-0.73.2.legacy.i386.rpm
3cb01bb47a5fa55151637050f01769898b7dc89c 7.3/updates/i386/samba-swat-2.2.12-0.73.2.legacy.i386.rpm
2968358eb51a4342b520f5494a4013643ba73e1b 9/updates/SRPMS/samba-2.2.12-0.90.1.legacy.src.rpm
dcafbbcb96a0848e8b4017bdf1745c275681db35 9/updates/i386/samba-2.2.12-0.90.1.legacy.i386.rpm
e7fe4b9425d535768fc17464f7879dd1f048a8b2 9/updates/i386/samba-client-2.2.12-0.90.1.legacy.i386.rpm
f590e48b6a9ad6841f7ea96070d08c8151ae12d7 9/updates/i386/samba-common-2.2.12-0.90.1.legacy.i386.rpm
75fbf38b5381ee7cf9b91c5723aa8d66f8e92fbc 9/updates/i386/samba-swat-2.2.12-0.90.1.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:  [FLSA-2004:2102] Updated samba packages fix security vulnerability

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-13
Product:           Red Hat Linux
Keywords:          Security
Cross references:
CVE Names:         CAN-2004-0815

1. Topic:

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:

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 this issue.

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

664447fbbf1371174b601099d18102023537ecbf  7.3/updates/SRPMS/samba-2.2.12-0.=
ab34e621cdaa5ad567276244eb2ed2234c418890  7.3/updates/i386/samba-2.2.12-0.7=
aaae87969ae3287e432503cee8fbcb83525d020e  7.3/updates/i386/samba-client-2.2=
728d7f6d68dc837fd874ac870e5d2241e2514a6d  7.3/updates/i386/samba-common-2.2=
3cb01bb47a5fa55151637050f01769898b7dc89c  7.3/updates/i386/samba-swat-2.2.1=
2968358eb51a4342b520f5494a4013643ba73e1b  9/updates/SRPMS/samba-2.2.12-0.90=
dcafbbcb96a0848e8b4017bdf1745c275681db35  9/updates/i386/samba-2.2.12-0.90.=
e7fe4b9425d535768fc17464f7879dd1f048a8b2  9/updates/i386/samba-client-2.2.1=
f590e48b6a9ad6841f7ea96070d08c8151ae12d7  9/updates/i386/samba-common-2.2.1=
75fbf38b5381ee7cf9b91c5723aa8d66f8e92fbc  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)




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