[Full-disclosure] [ GLSA 200605-05 ] rsync: Potential integer overflow



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200605-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: rsync: Potential integer overflow
Date: May 06, 2006
Bugs: #131631
ID: 200605-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

An attacker having write access to an rsync module might be able to
execute arbitrary code on an rsync server.

Background
==========

rsync is a server and client utility that provides fast incremental
file transfers. It is used to efficiently synchronize files between
hosts and is used by emerge to fetch Gentoo's Portage tree.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-misc/rsync < 2.6.8 >= 2.6.8

Description
===========

An integer overflow was found in the receive_xattr function from the
extended attributes patch (xattr.c) for rsync. The vulnerable function
is only present when the "acl" USE flag is set.

Impact
======

A remote attacker with write access to an rsync module could craft
malicious extended attributes which would trigger the integer overflow,
potentially resulting in the execution of arbitrary code with the
rights of the rsync daemon.

Workaround
==========

Do not provide write access to an rsync module to untrusted parties.

Resolution
==========

All rsync users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/rsync-2.6.8"

References
==========

[ 1 ] CVE-2006-2083
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2083

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200605-05.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

Attachment: pgpZY0JRsD0MB.pgp
Description: PGP signature

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Relevant Pages

  • [ GLSA 200605-05 ] rsync: Potential integer overflow
    ... An attacker having write access to an rsync module might be able to ... An integer overflow was found in the receive_xattr function from the ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)
  • [UNIX] rsync Integer Overflow
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... An attacker having write access to an rsync module is able execute ... An integer overflow was found in the receive_xattr function from the ...
    (Securiteam)
  • [UNIX] Rsync Heap Overflow
    ... Get your security news from a reliable source. ... The rsync team has received evidence that a vulnerability in rsync was ... compromise the security of a public rsync server. ...
    (Securiteam)
  • [Full-disclosure] [ GLSA 200709-13 ] rsync: Two buffer overflows
    ... Title: rsync: Two buffer overflows ... Bugs: #189132 ... Sebastian Krahmer from the SUSE Security Team discovered two off-by-one ...
    (Full-Disclosure)
  • [Full-Disclosure] MDKSA-2004:083 - Updated rsync packages fix remotely-exploitable vulnerability
    ... vulnerability in all versions of rsync prior to and including 2.6.2. ... All packages are signed by Mandrakesoft for security. ... the GPG public key of the Mandrakelinux Security Team by executing: ...
    (Full-Disclosure)