SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Rsync Vendors:   rsync.samba.org
(Red Hat Issues Fix for RH Linux) Rsync Path Validation Flaw May Let Remote Authenticated Users Write Files on the System
SecurityTracker Alert ID:  1011464
SecurityTracker URL:  http://securitytracker.com/id/1011464
CVE Reference:   CVE-2004-0426   (Links to External Site)
Date:  Sep 30 2004
Impact:   Modification of system information, Modification of user information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 2.6.1
Description:   A vulnerability was reported in rsync. A remote authenticated user may be able to write files on the target system.

The vendor reported that the rsync daemon does not properly sanitize user-supplied path values. As a result, a remote authenticated user may be able to write to a file located outside of the module's path. According to the report, only customers running a read/write daemon without using chroot are affected.

Impact:   A remote authenticated user may be able to write to files on the system. Depending on the privileges of the rsync daemon, this may allow a remote authenticated user to gain access to the operating system.
Solution:   Red Hat has issued a fix.

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/rsync-2.5.7-2.legacy.7x.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/rsync-2.5.7-2.legacy.7x.i386.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/rsync-2.5.7-2.legacy.9.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/rsync-2.5.7-2.legacy.9.i386.rpm

The SHA1 verification checksums are:

1101ad1c735a11c9be6f4d45971374a6195431d9
7.3/updates/i386/rsync-2.5.7-2.legacy.7x.i386.rpm
4bb344d823f423cf5c1cc64d949dd1d9408960e7
7.3/updates/SRPMS/rsync-2.5.7-2.legacy.7x.src.rpm
49a3fa2fe967ed5c62994d5785463357aaf49de5
9/updates/i386/rsync-2.5.7-2.legacy.9.i386.rpm
84ec22198c189660f3cf2b967b710de9a04d6b22
9/updates/SRPMS/rsync-2.5.7-2.legacy.9.src.rpm

Vendor URL:  rsync.samba.org/ (Links to External Site)
Cause:   Access control 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.
Apr 30 2004 Rsync Path Validation Flaw May Let Remote Authenticated Users Write Files on the System



 Source Message Contents

Subject:  [Full-Disclosure] [FLSA-2004:2003] Updated rsync package fixes security issues


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Synopsis:          Updated rsync package fixes security issues
Advisory ID:       FLSA:2003
Issue date:        2004-09-30
Product:           Red Hat Linux
Keywords:          Bugfix
Cross references:  https://bugzilla.fedora.us/show_bug.cgi?id=2003
CVE Names:         CAN-2004-0426 CAN-2004-0792
- -
-----------------------------------------------------------------------


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

An updated rsync package that fixes several security issues is now
available.

The rsync program synchronizes files over a network.

2. Relevent releases/architectures:

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

3. Problem description:

Rsync before 2.6.1 does not properly sanitize paths when running a
read/write daemon without using chroot. This could allow a remote
attacker
to write files outside of the module's "path", depending on the
privileges
assigned to the rsync daemon. Users not running an rsync daemon, running
a
read-only daemon, or running a chrooted daemon are not affected by this
issue. The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CAN-2004-0426 to this issue.

Versions of rsync up to and including version 2.6.2 contain a path
sanitization issue. This issue could allow an attacker to read or write
files outside of the rsync directory. This vulnerability is only
exploitable when an rsync server is enabled and is not running within a
chroot. The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CAN-2004-0792 to this issue.

Users of rsync are advised to upgrade to this updated package, which
contains backported patches and is not affected by these issues.

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 - bug #1569
http://bugzilla.fedora.us - bug #2003

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/rsync-2.5.7-2.legacy.7x.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/rsync-2.5.7-2.legacy.7x.i386.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/rsync-2.5.7-2.legacy.9.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/rsync-2.5.7-2.legacy.9.i386.rpm

7. Verification:

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

1101ad1c735a11c9be6f4d45971374a6195431d9
7.3/updates/i386/rsync-2.5.7-2.legacy.7x.i386.rpm
4bb344d823f423cf5c1cc64d949dd1d9408960e7
7.3/updates/SRPMS/rsync-2.5.7-2.legacy.7x.src.rpm
49a3fa2fe967ed5c62994d5785463357aaf49de5
9/updates/i386/rsync-2.5.7-2.legacy.9.i386.rpm
84ec22198c189660f3cf2b967b710de9a04d6b22
9/updates/SRPMS/rsync-2.5.7-2.legacy.9.src.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://rsync.samba.org/#security_apr04
http://rsync.samba.org/#security_aug04
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0426
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0792

9. Contact:

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

- -
---------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBW90yLMAs/0C4zNoRAigPAKCyd2qrr/E5euEo4cZ509eGSQ3U3ACfYvP1
1NWrfCntZHfnvKlJ4Uvm98U=
=gYDA
-----END PGP SIGNATURE-----


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 
 


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, SecurityGlobal.net LLC