Bug 161612

Summary: CAN-2004-0175 malicious rsh server can cause rcp to write to arbitrary files
Product: [Fedora] Fedora Reporter: Josh Bressers <bressers>
Component: krb5Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 4CC: barryn, kzak, nalin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20000901
Fixed In Version: 1.4.1-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-20 13:36:49 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Josh Bressers 2005-06-24 16:00:49 EDT
+++ 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:
Comment 1 Josh Bressers 2005-06-24 16:01:37 EDT
This issue should also affect FC3
Comment 2 Christian Iseli 2007-01-19 19:21:38 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Comment 3 Karel Zak 2007-01-20 13:36:49 EST
No ... see changelog:

* Thu Feb  3 2005 Karel Zak <kzak@redhat.com> 0.17-28
- malicious rcp server can cause rcp to write to arbitrary files (like scp
CAN-2004-0175) (#146464)
Comment 4 Nalin Dahyabhai 2007-01-22 14:42:55 EST
Fixed for krb5-specific version of rsh in 1.4.1-4 and later.