LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Advisory Watch: November 21st, 2014
Linux Security Week: November 17th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
RedHat: 'rsync' Remote command execution Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux There exist several signedness bugs within the rsync program which allow remote attackers to write 0-bytes to almost arbitrary stack-locations, therefore being able to control the programflow and obtaining a shell remotely.

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

Synopsis:          New rsync packages available
Advisory ID:       RHSA-2002:018-05
Issue date:        2002-01-23
Updated on:        2002-01-25
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.

It is strongly recommended that all users of rsync upgrade to the fixed
packages.

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.Red Hat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 6.2:

SRPMS: 
ftp://updates.Red Hat.com/6.2/en/os/SRPMS/rsync-2.4.6-0.6.src.rpm

alpha: 
ftp://updates.Red Hat.com/6.2/en/os/alpha/rsync-2.4.6-0.6.alpha.rpm

i386: 
ftp://updates.Red Hat.com/6.2/en/os/i386/rsync-2.4.6-0.6.i386.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/en/os/sparc/rsync-2.4.6-0.6.sparc.rpm

Red Hat Linux 7.0:

SRPMS: 
ftp://updates.Red Hat.com/7.0/en/os/SRPMS/rsync-2.4.6-8.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.0/en/os/alpha/rsync-2.4.6-8.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.0/en/os/i386/rsync-2.4.6-8.i386.rpm

Red Hat Linux 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/os/SRPMS/rsync-2.4.6-8.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.1/en/os/alpha/rsync-2.4.6-8.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.1/en/os/i386/rsync-2.4.6-8.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.1/en/os/ia64/rsync-2.4.6-8.ia64.rpm

Red Hat Linux 7.2:

SRPMS: 
ftp://updates.Red Hat.com/7.2/en/os/SRPMS/rsync-2.4.6-8.src.rpm

i386: 
ftp://updates.Red Hat.com/7.2/en/os/i386/rsync-2.4.6-8.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.2/en/os/ia64/rsync-2.4.6-8.ia64.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
2bd10eb10e84fadc305ebfc2e264ec2e 6.2/en/os/SRPMS/rsync-2.4.6-0.6.src.rpm
b38a1e9912b7e49496cd0550700a0917 6.2/en/os/alpha/rsync-2.4.6-0.6.alpha.rpm
80efc477a6b5c921b663f0de9e599ca2 6.2/en/os/i386/rsync-2.4.6-0.6.i386.rpm
69eef6216061a8f7a1fc81d6c74196e1 6.2/en/os/sparc/rsync-2.4.6-0.6.sparc.rpm
03cb9d0957edc8924c8fb6b5c83b4576 7.0/en/os/SRPMS/rsync-2.4.6-8.src.rpm
546234ec652e9baa9053f8d18ac5f20f 7.0/en/os/alpha/rsync-2.4.6-8.alpha.rpm
7efbc285a01752c893c112373feb0fd8 7.0/en/os/i386/rsync-2.4.6-8.i386.rpm
03cb9d0957edc8924c8fb6b5c83b4576 7.1/en/os/SRPMS/rsync-2.4.6-8.src.rpm
546234ec652e9baa9053f8d18ac5f20f 7.1/en/os/alpha/rsync-2.4.6-8.alpha.rpm
7efbc285a01752c893c112373feb0fd8 7.1/en/os/i386/rsync-2.4.6-8.i386.rpm
38f4d868226a980a1c763bb1ef27805a 7.1/en/os/ia64/rsync-2.4.6-8.ia64.rpm
03cb9d0957edc8924c8fb6b5c83b4576 7.2/en/os/SRPMS/rsync-2.4.6-8.src.rpm
7efbc285a01752c893c112373feb0fd8 7.2/en/os/i386/rsync-2.4.6-8.i386.rpm
38f4d868226a980a1c763bb1ef27805a 7.2/en/os/ia64/rsync-2.4.6-8.ia64.rpm
 

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

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

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 

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


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

 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.