Lucene search

K
gentooGentoo FoundationGLSA-200312-03
HistoryDec 04, 2003 - 12:00 a.m.

rsync: exploitable heap overflow

2003-12-0400:00:00
Gentoo Foundation
security.gentoo.org
9

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.379 Low

EPSS

Percentile

97.2%

Background

rsync is a popular file transfer package used to synchronize the Portage tree.

Description

Rsync version 2.5.6 contains a vulnerability that can be used to run arbitrary code. The Gentoo infrastructure team has some reasonably good forensic evidence that this exploit may have been used in combination with the Linux kernel do_brk() vulnerability (see GLSA 200312-02) to exploit a rsync.gentoo.org rotation server (see GLSA-200312-01.)

Please see http://lwn.net/Articles/61541/ for the security advisory released by the rsync development team.

Impact

A remote attacker could execute arbitrary code with the permissions of the root user.

Workaround

There is no known workaround at this time.

Resolution

To address this vulnerability, all Gentoo users should read GLSA-200312-02 and ensure that all systems are upgraded to a version of the Linux kernel without the do_brk() vulnerability, and upgrade to version 2.5.7 of rsync:

 # emerge sync
 # emerge -pv '>=net-misc/rsync-2.5.7'
 # emerge '>=net-misc/rsync-2.5.7'
 # emerge clean

Review your /etc/rsync/rsyncd.conf configuration file; ensure that the use chroot=“no” command is commented out or removed, or change use chroot=“no” to use chroot=“yes”. Then, if necessary, restart rsyncd:

 # /etc/init.d/rsyncd restart
OSVersionArchitecturePackageVersionFilename
Gentooanyallnet-misc/rsync< 2.5.7UNKNOWN

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.379 Low

EPSS

Percentile

97.2%