Linux rsync allows files to be written outside a module`s path

rsync-write-files (16014) The risk level is classified as MediumMedium Risk

Description:

rsync could allow a remote attacker to write files outside of the directory. When running non-read-only rsync without enabling chroot, a remote attacker can send a path to the rsync daemon to write files to directories outside a module's path.

Platforms Affected:

  • Conectiva, Linux 10
  • Conectiva, Linux 9.0
  • Debian, Debian Linux 3.0
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 10.0
  • MandrakeSoft, Mandrake Linux 9.1
  • MandrakeSoft, Mandrake Linux 9.2
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • MandrakeSoft, Mandrake Multi Network Firewall 8.2
  • OpenPKG, OpenPKG 1.3
  • OpenPKG, OpenPKG 2.0
  • OpenPKG, OpenPKG CURRENT
  • RedHat, Enterprise Linux 2.1 AW
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • Samba, Rsync prior to 2.6.1
  • Slackware, Slackware Linux 8.1
  • Slackware, Slackware Linux 9.0
  • Slackware, Slackware Linux 9.1
  • Slackware, Slackware Linux current
  • Trustix, Secure Enterprise Linux 2.0
  • Trustix, Secure Linux 1.5
  • Trustix, Secure Linux 2.0
  • Trustix, Secure Linux 2.1

Remedy:

Upgrade to the latest version of rsync (2.6.1 or later), available from the rsync download Web page. See References.

For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest rsync package (2.5.5-0.4 or later), as listed in DSA-499-1. See References.

For Trustix Secure Linux:
Upgrade to the latest rsync package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0024 for more information. See References.

Trustix Secure Linux 1.5 and 2.0: 2.6.1-0.1tr or later
Trustix Secure Linux 2.1 and Enterprise Linux 2: 2.6.1-1tr or later

For Mandrake Linux:
Upgrade to the latest rsync package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:042 : rsync for more information. See References.

Mandrake Linux 9.1: 2.5.7-0.2.91mdk or later
Mandrake Linux 9.2: 2.5.7-0.2.92mdk or later
Mandrake Linux Multi Network Firewall 8.2: 2.5.4-2.2.M82mdk or later
Mandrake Linux Corporate Server 2.1: 2.5.5-5.2.C21mdk or later
Mandrake Linux 10.0: 2.6.0-1.1.100mdk or later

For Slackware Linux:
Upgrade to the latest rsync package, as listed below. Refer to slackware-security Mailing List, Mon, 3 May 2004 13:06:08 -0700 (PDT) for more information. See References.

Slackware Linux 8.1 and 9.0: 2.6.2-i386-1 or later
Slackware Linux 9.1 and -current: 2.6.2-i486-1 or later

For Red Hat Linux:
Upgrade to the latest rsync package, as listed below. Refer to RHSA-2004:192-06 for more information. See References.

Red Hat Enterprise Linux AS (v. 2.1), ES (v. 2.1), WS (v. 2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 2.5.7-3.21AS or later

Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 2.5.7-4.3E.x86_64 or later

For Gentoo Linux:
Upgrade to the latest version of rsync (2.6.0-r2 or later), as listed in GLSA 200407-10. See References.

For Conectiva Linux:
Upgrade to the latest rsync package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:881 for more information. See References.

Conectiva Linux 10: 2.6.3-59134U10_1cl or later
Conectiva Linux 9: 2.5.7-13508U90_2cl or later

For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2004.025 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

File Manipulation

References:

Reported:

Apr 30, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page