Bug 146881 - CAN-2004-0175 malicious ssh server can cause scp to write to arbitrary files
CAN-2004-0175 malicious ssh server can cause scp to write to arbitrary files
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: openssh (Show other bugs)
2.1
All Linux
medium Severity low
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
impact=low,public=20000901
: Security
: 158915 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-02 09:46 EST by Tomas Mraz
Modified: 2007-11-30 17:06 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-02 10:31:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tomas Mraz 2005-02-02 09:46:28 EST
*** This bug has been split off bug 120147 for RHEL2.1***

------- Original comment by Mark J. Cox (Security Response Team) on 2004.04.06
08:28 -------

Back in 2000 it was reported that a malicious ssh server could cause
scp to write to arbitrary files outside of the current directory. 
See:    
http://cert.uni-stuttgart.de/archive/bugtraq/2000/09/msg00499.html

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:
        
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.113&r2=1.114
Comment 1 Tomas Mraz 2005-05-27 02:35:15 EDT
*** Bug 158915 has been marked as a duplicate of this bug. ***
Comment 2 Josh Bressers 2005-06-02 10:31:30 EDT
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.

http://rhn.redhat.com/errata/RHSA-2005-481.html

Note You need to log in before you can comment on or make changes to this bug.