SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (File Transfer/Sharing)  >   Rsync Vendors:   [Multiple Authors/Vendors]
(Red Hat Issues Revised Fix) Re: Rsync Remote File Synchronization Utility Lets Remote Users Execute Arbitrary Code on the Server
SecurityTracker Alert ID:  1003400
SecurityTracker URL:  http://securitytracker.com/id/1003400
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Jan 30 2002
Impact:   Execution of arbitrary code via network, Root access via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   SuSE reported a vulnerability in the 'rsync' file synchronization application. A remote user may be able to execute arbitrary code on the server.

It is reported that there are several cases where the signedness of variables are not checked. A remote user could write NULL bytes to arbitrary stack locations (or nearly any stack location) to cause arbitrary code to be executed on the server.

Impact:   A remote user can execute arbitrary code on the server. The code will run with the privileges of the server (which depend on how the server is configured).
Solution:   The vendor has issued a revised fix.

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/rsync-2.4.6-1.6.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/rsync-2.4.6-1.6.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/rsync-2.4.6-1.6.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/rsync-2.4.6-1.6.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/rsync-2.4.6-10.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/rsync-2.4.6-10.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/rsync-2.4.6-10.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/rsync-2.4.6-10.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/rsync-2.4.6-10.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/rsync-2.4.6-10.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/rsync-2.4.6-10.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/rsync-2.4.6-10.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/rsync-2.4.6-10.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/rsync-2.4.6-10.ia64.rpm

The verification checksums are:

MD5 sum Package Name
--------------------------------------------------------------------------
3b33976775af0d04ce639915e5c7cb63 6.2/en/os/SRPMS/rsync-2.4.6-1.6.src.rpm
418e264b0ba45fb9d16deff259e462c4 6.2/en/os/alpha/rsync-2.4.6-1.6.alpha.rpm
441409bda25e79567d4a587994b84d76 6.2/en/os/i386/rsync-2.4.6-1.6.i386.rpm
35abb7066b5e5b7092465c33dd24085d 6.2/en/os/sparc/rsync-2.4.6-1.6.sparc.rpm
ec10c0deb84328cc553449f4330f1cfd 7.0/en/os/SRPMS/rsync-2.4.6-10.src.rpm
b756d3ddf8b2d34d5fe7c6b1a4c1d043 7.0/en/os/alpha/rsync-2.4.6-10.alpha.rpm
2e37e09c1f55d4d825e748a4a2005698 7.0/en/os/i386/rsync-2.4.6-10.i386.rpm
ec10c0deb84328cc553449f4330f1cfd 7.1/en/os/SRPMS/rsync-2.4.6-10.src.rpm
b756d3ddf8b2d34d5fe7c6b1a4c1d043 7.1/en/os/alpha/rsync-2.4.6-10.alpha.rpm
2e37e09c1f55d4d825e748a4a2005698 7.1/en/os/i386/rsync-2.4.6-10.i386.rpm
7895ca8e94476fe4868c07dad2f079ae 7.1/en/os/ia64/rsync-2.4.6-10.ia64.rpm
ec10c0deb84328cc553449f4330f1cfd 7.2/en/os/SRPMS/rsync-2.4.6-10.src.rpm
2e37e09c1f55d4d825e748a4a2005698 7.2/en/os/i386/rsync-2.4.6-10.i386.rpm
7895ca8e94476fe4868c07dad2f079ae 7.2/en/os/ia64/rsync-2.4.6-10.ia64.rpm

See the Source Message for the vendor's advisory containing additional details about how to apply the fix.

Vendor URL:  rsync.samba.org/rsync/ (Links to External Site)
Cause:   Boundary error, State error
Underlying OS:   Linux (Red Hat Linux)

Message History:   This archive entry is a follow-up to the message listed below.
Jan 25 2002 Rsync Remote File Synchronization Utility Lets Remote Users Execute Arbitrary Code on the Server



 Source Message Contents

Date:  Wed, 30 Jan 2002 16:10 -0500
Subject:  [RHSA-2002:018-10] New rsync packages available


---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          New rsync packages available
Advisory ID:       RHSA-2002:018-10
Issue date:        2002-01-23
Updated on:        2002-01-30
Product:           Red Hat Linux
Keywords:          rsync signed unsigned daemon
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

New rsync packages are available; these fix a remotely exploitable problem
in the I/O functions. These include the security patch from the recently
released rsync-2.5.2. It is strongly recommended that all users of rsync
upgrade to the fixed
packages.

2002-01-28: There was an error in the original bugfix patch for the
security problem - the new rsync could fail under some circumstances. This
has been fixed in a new build.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

Red Hat Linux 7.2 - i386, ia64

3. Problem description:

rsync is a powerful tool used for mirroring directory structures across
machines.  rsync has been found to contain several signed/unsigned bugs in
its I/O functions which are remotely exploitable.   A remote user can crash
the rsync server/client and execute code as the user running the rsync
server or client.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2002-0048 to this issue.

All users of rsync should upgrade their packages.  In addition rsync server
administrators should consider using the "use chroot", "uid",  and "read
only" options, which can significantly reduce the impact of a security
problem in rsync or elsewhere.

Thanks go to Sebastian Krahmer for providing a patch for this vulnerability
and to Andrew Tridgell and Martin Pool for their rapid response.

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 Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

58874 - New rsync package corrupts files during transfer.
58878 - rsync segfaults

6. RPMs required:

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/rsync-2.4.6-1.6.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/rsync-2.4.6-1.6.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/rsync-2.4.6-1.6.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/rsync-2.4.6-1.6.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/rsync-2.4.6-10.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/rsync-2.4.6-10.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/rsync-2.4.6-10.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/rsync-2.4.6-10.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/rsync-2.4.6-10.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/rsync-2.4.6-10.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/rsync-2.4.6-10.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/rsync-2.4.6-10.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/rsync-2.4.6-10.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/rsync-2.4.6-10.ia64.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
3b33976775af0d04ce639915e5c7cb63 6.2/en/os/SRPMS/rsync-2.4.6-1.6.src.rpm
418e264b0ba45fb9d16deff259e462c4 6.2/en/os/alpha/rsync-2.4.6-1.6.alpha.rpm
441409bda25e79567d4a587994b84d76 6.2/en/os/i386/rsync-2.4.6-1.6.i386.rpm
35abb7066b5e5b7092465c33dd24085d 6.2/en/os/sparc/rsync-2.4.6-1.6.sparc.rpm
ec10c0deb84328cc553449f4330f1cfd 7.0/en/os/SRPMS/rsync-2.4.6-10.src.rpm
b756d3ddf8b2d34d5fe7c6b1a4c1d043 7.0/en/os/alpha/rsync-2.4.6-10.alpha.rpm
2e37e09c1f55d4d825e748a4a2005698 7.0/en/os/i386/rsync-2.4.6-10.i386.rpm
ec10c0deb84328cc553449f4330f1cfd 7.1/en/os/SRPMS/rsync-2.4.6-10.src.rpm
b756d3ddf8b2d34d5fe7c6b1a4c1d043 7.1/en/os/alpha/rsync-2.4.6-10.alpha.rpm
2e37e09c1f55d4d825e748a4a2005698 7.1/en/os/i386/rsync-2.4.6-10.i386.rpm
7895ca8e94476fe4868c07dad2f079ae 7.1/en/os/ia64/rsync-2.4.6-10.ia64.rpm
ec10c0deb84328cc553449f4330f1cfd 7.2/en/os/SRPMS/rsync-2.4.6-10.src.rpm
2e37e09c1f55d4d825e748a4a2005698 7.2/en/os/i386/rsync-2.4.6-10.i386.rpm
7895ca8e94476fe4868c07dad2f079ae 7.2/en/os/ia64/rsync-2.4.6-10.ia64.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0048


Copyright(c) 2000, 2001, 2002 Red Hat, Inc.

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC