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]
(EnGarde Issues Fix) Re: Rsync Remote File Synchronization Utility Lets Remote Users Execute Arbitrary Code on the Server
SecurityTracker Alert ID:  1003362
SecurityTracker URL:  http://securitytracker.com/id/1003362
CVE Reference:   CAN-2002-0048   (Links to External Site)
Date:  Jan 25 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:   EnGarde has released a fix. Registered users of the EnGarde Secure Linux Professional edition can use the Guardian Digital Secure Network to upgrade their packages automatically.

Users of EnGarde Secure Linux Community edition can follow the directions below.

EnGarde recommends that all users upgrade to the most recent version, available at:

ftp://ftp.engardelinux.org/pub/engarde/stable/updates/
http://ftp.engardelinux.org/pub/engarde/stable/updates/

Before upgrading the package, the machine must either:

a) be booted into a "standard" kernel; or
b) have LIDS disabled.

To disable LIDS, execute the command:

# /sbin/lidsadm -S -- -LIDS_GLOBAL

To install the updated package, execute the command:

# rpm -Uvh <filename>

You must now update the LIDS configuration by executing the command:

# /usr/sbin/config_lids.pl

To re-enable LIDS (if it was disabled), execute the command:

# /sbin/lidsadm -S -- +LIDS_GLOBAL

To verify the signatures of the updated packages, execute the command:

# rpm -Kv <filename>

These updated packages are for EnGarde Secure Linux 1.0.1 (Finestra).

Source Packages:

SRPMS/rsync-2.4.6-1.0.3.src.rpm
MD5 Sum: 0d327ed5799c5407df49aa63e1611592

Binary Packages:

i386/rsync-2.4.6-1.0.3.i386.rpm
MD5 Sum: 130608e7f4d1600d8ceb47ad7fe7c4ce

i686/rsync-2.4.6-1.0.3.i686.rpm
MD5 Sum: 17dea017e1991234eed30aea4248c479

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

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:  Fri, 25 Jan 2002 11:19:37 -0500 (EST)
Subject:  [ESA-20020125-004] rsync signed integer handling vulnerability


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


+------------------------------------------------------------------------+
| EnGarde Secure Linux Security Advisory                January 25, 2002 |
| http://www.engardelinux.org/                          ESA-20020125-004 |
|                                                                        |
| Package:  rsync                                                        |
| Summary:  signed integer handling vulnerability                        |
+------------------------------------------------------------------------+

  EnGarde Secure Linux is a secure distribution of Linux that features
  improved access control, host and network intrusion detection, Web
  based secure remote management, complete e-commerce using AllCommerce,
  and integrated open source security tools.


OVERVIEW
- --------
  There is a signed integer handling vulnerability in rsync which can
  allow an attacker to potentially gain root access.


DETAIL
- ------
  There are instances where rsync does not do proper input validation,
  allowing an attacker to write NULL-bytes to somewhat arbitrary locations
  of the stack.  This may potentially lead to a remote root shell.

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


SOLUTION
- --------
  This information applies only to EnGarde Secure Linux Community edition
  users. Registered users of the EnGarde Secure Linux Professional
  edition can use the Guardian Digital Secure Network to upgrade their
  packages automatically.

  All users should upgrade to the most recent version as outlined in
  this advisory.  All updates may be found at:

    ftp://ftp.engardelinux.org/pub/engarde/stable/updates/
    http://ftp.engardelinux.org/pub/engarde/stable/updates/

  Before upgrading the package, the machine must either:

    a) be booted into a "standard" kernel; or
    b) have LIDS disabled.

  To disable LIDS, execute the command:

    # /sbin/lidsadm -S -- -LIDS_GLOBAL

  To install the updated package, execute the command:

    # rpm -Uvh <filename>

  You must now update the LIDS configuration by executing the command:

    # /usr/sbin/config_lids.pl

  To re-enable LIDS (if it was disabled), execute the command:

    # /sbin/lidsadm -S -- +LIDS_GLOBAL

  To verify the signatures of the updated packages, execute the command:

    # rpm -Kv <filename>


UPDATED PACKAGES
- ----------------
  These updated packages are for EnGarde Secure Linux 1.0.1 (Finestra).

  Source Packages:

    SRPMS/rsync-2.4.6-1.0.3.src.rpm
      MD5 Sum: 0d327ed5799c5407df49aa63e1611592

  Binary Packages:

    i386/rsync-2.4.6-1.0.3.i386.rpm
      MD5 Sum: 130608e7f4d1600d8ceb47ad7fe7c4ce

    i686/rsync-2.4.6-1.0.3.i686.rpm
      MD5 Sum: 17dea017e1991234eed30aea4248c479


REFERENCES
- ----------

  Guardian Digital's public key:
    http://ftp.engardelinux.org/pub/engarde/ENGARDE-GPG-KEY

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

  Credit for the discovery of this bug goes to:
    Sebastian Krahmer <krahmer@suse.de>

  rsync's Official Web Site:
    http://rsync.samba.org

  Security Contact:    security@guardiandigital.com
  EnGarde Advisories:  http://www.engardelinux.org/advisories.html

- --------------------------------------------------------------------------
$Id: ESA-20020125-004-rsync,v 1.1 2002/01/25 16:04:36 rwm Exp $
- --------------------------------------------------------------------------
Author: Ryan W. Maple, <ryan@guardiandigital.com> 
Copyright 2002, Guardian Digital, Inc.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8UYWhHD5cqd57fu0RAlIXAJ4/qEaAW++1UGmCNjFqL2zbvfWkdwCeOpHD
4Gh9HFYHppQBEBTcCjQA674=
=RD5j
-----END PGP SIGNATURE-----

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC