Red Hat Bugzilla – Bug 158916
CAN-2004-0175 malicious rsh server can cause rcp to write to arbitrary files
Last modified: 2007-11-30 17:06:54 EST
+++ This bug was initially created as a clone of Bug #120147 +++
Back in 2000 it was reported that a malicious ssh server could cause
scp to write to arbitrary files outside of the current directory.
This is a valid behaviour of the rcp protocol.
The issue was rediscovered in Mar 2004 and discussed amongst OSS
vendors, with Markus Friedl from OpenBSD writing a proposed patch for
this issue but warned that it needed a lot of testing:
My notes list this issue as affecting rsh only on RHEL2.1. I'm not sure what
upstream has done to fix this issue.
Ping on this issue
I have a patch that fix this problem (already included in RHEL3, RHEL4 and FCx).
I'm going to reease it for AS2.1 ASAP (probably next week).
If you give me the n-v-r, I'd be more than happy to write the errata for you.
Thanks Josh. It wasn't so big problem create new errata as copy from old one :-)
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.