(Red Hat Issues Fix for rsh) OpenSSH scp Directory Traversal Flaw Lets Remote SSH Servers Overwrite Files in Certain Cases
|
|
SecurityTracker Alert ID: 1014184 |
|
SecurityTracker URL: http://securitytracker.com/id/1014184
|
|
CVE Reference:
CAN-2004-0175
(Links to External Site)
|
Date: Jun 13 2005
|
Impact:
Modification of system information, Modification of user information
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): prior to 3.4p1
|
Description:
An input validation vulnerability was reported in 'scp' in OpenSSH. A remote SSH server can overwrite arbitrary files on the target system in certain situations. rsh is affected.
In CLSA-2004:831 (March 2004), Conectiva reported that scp is affected by a directory traversal vulnerability. The same flaw (or a similar flaw) was originally reported by Michal Zalewski in September 2000 as affecting sshd version 1.2.x [CVE: CVE-2000-0992] and was fixed.
The newly reported vulnerability affects OpenSSH versions prior to 3.4p1.
A malicious SSH server can cause files to be written to arbitrary locations on the target user's system when the target user invokes scp against the malicious SSH server.
|
Impact:
A remote server can cause files to be written to arbitrary locations on the target user's system when the target user invokes scp against the remote server.
|
Solution:
Red Hat has released a fix.
Red Hat Enterprise Linux AS (Advanced Server) version 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
i386:
53f2f58873f6b1448138b0051fc4d0c8 rsh-0.17-18.AS21.4.i386.rpm
7f1279fd4dd249e01309dc4d71506849 rsh-server-0.17-18.AS21.4.i386.rpm
ia64:
39238168acaff66c7366db659f48809d rsh-0.17-18.AS21.4.ia64.rpm
87c3d4bb78f30940d49a289bb149647d rsh-server-0.17-18.AS21.4.ia64.rpm
Red Hat Linux Advanced Workstation 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
ia64:
39238168acaff66c7366db659f48809d rsh-0.17-18.AS21.4.ia64.rpm
87c3d4bb78f30940d49a289bb149647d rsh-server-0.17-18.AS21.4.ia64.rpm
Red Hat Enterprise Linux ES version 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
i386:
53f2f58873f6b1448138b0051fc4d0c8 rsh-0.17-18.AS21.4.i386.rpm
7f1279fd4dd249e01309dc4d71506849 rsh-server-0.17-18.AS21.4.i386.rpm
Red Hat Enterprise Linux WS version 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
i386:
53f2f58873f6b1448138b0051fc4d0c8 rsh-0.17-18.AS21.4.i386.rpm
7f1279fd4dd249e01309dc4d71506849 rsh-server-0.17-18.AS21.4.i386.rpm
|
Vendor URL: openssh.org/ (Links to External Site)
|
Cause:
Access control error, Input validation error
|
Underlying OS:
Linux (Red Hat Enterprise)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Mon, 13 Jun 2005 08:38 -0400
Subject: [RHSA-2005:495-01] Low: rsh security update
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- ---------------------------------------------------------------------
Red Hat Security Advisory
Synopsis: Low: rsh security update
Advisory ID: RHSA-2005:495-01
Advisory URL: https://rhn.redhat.com/errata/RHSA-2005-495.html
Issue date: 2005-06-13
Updated on: 2005-06-13
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-0175
- ---------------------------------------------------------------------
1. Summary:
Updated rsh packages that fix a theoretical security issue are now available.
This update has been rated as having low security impact by the Red Hat
Security Response Team
2. Relevant releases/architectures:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
3. Problem description:
The rsh package contains a set of programs that allow users to run
commands on remote machines, login to other machines, and copy files
between machines, using the rsh, rlogin, and rcp commands. All three of
these commands use rhosts-style authentication.
The rcp protocol allows a server to instruct a client to write to arbitrary
files outside of the current directory. This could potentially cause a
security issue if a user uses rcp to copy files from a malicious server.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2004-0175 to this issue.
All users of rsh should upgrade to these updated packages, which resolve
these issues.
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.
If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate. The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:
https://rhn.redhat.com/help/latest-up2date.pxt
5. Bug IDs fixed (http://bugzilla.redhat.com/):
158916 - CAN-2004-0175 malicious rsh server can cause rcp to write to arbitrary files
6. RPMs required:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
i386:
53f2f58873f6b1448138b0051fc4d0c8 rsh-0.17-18.AS21.4.i386.rpm
7f1279fd4dd249e01309dc4d71506849 rsh-server-0.17-18.AS21.4.i386.rpm
ia64:
39238168acaff66c7366db659f48809d rsh-0.17-18.AS21.4.ia64.rpm
87c3d4bb78f30940d49a289bb149647d rsh-server-0.17-18.AS21.4.ia64.rpm
Red Hat Linux Advanced Workstation 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
ia64:
39238168acaff66c7366db659f48809d rsh-0.17-18.AS21.4.ia64.rpm
87c3d4bb78f30940d49a289bb149647d rsh-server-0.17-18.AS21.4.ia64.rpm
Red Hat Enterprise Linux ES version 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
i386:
53f2f58873f6b1448138b0051fc4d0c8 rsh-0.17-18.AS21.4.i386.rpm
7f1279fd4dd249e01309dc4d71506849 rsh-server-0.17-18.AS21.4.i386.rpm
Red Hat Enterprise Linux WS version 2.1:
SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/rsh-0.17-18.AS21.4.src.rpm
97e3fc12d40b985c90c1da4feb8d7e44 rsh-0.17-18.AS21.4.src.rpm
i386:
53f2f58873f6b1448138b0051fc4d0c8 rsh-0.17-18.AS21.4.i386.rpm
7f1279fd4dd249e01309dc4d71506849 rsh-server-0.17-18.AS21.4.i386.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package
7. References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0175
8. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://www.redhat.com/security/team/contact/
Copyright 2005 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFCrX4ZXlSAg2UNWIIRAitvAKCAnDh1tPQVP8wJz1lD+ib4vlO6EwCgwPIs
cSegbsRZAMBvR/QFSojgc/8=
=iJwn
-----END PGP SIGNATURE-----
--
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list
|
|