Patch-ID# 114670-04


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: security rcp return status non-solaris unknown host
Synopsis: SunOS 5.8_x86: /usr/bin/rcp patch
Date: Jul/09/2007


Install Requirements: NA

Solaris Release: 8_x86

SunOS Release: 5.8_x86

Unbundled Product:

Unbundled Release:

Xref: This patch available for SPARC as patch 114669

Topic: SunOS 5.8_x86: /usr/bin/rcp patch

Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #
114963614873495
437398215039346
477189315131364
647350815351808


Changes incorporated in this version: 6473508

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch:

Obsoleted by:

Files included with this patch:

/usr/bin/rcp

Problem Description:

6473508 rcp(1) use of 'sh -c' in execl() can cause execution of arbitrary code through malformed filenames
 
(from 114670-03)
 
4771893 rcp fails to properly zero terminate ACLs
 
(from 114670-02)
 
4373982 rcp to non-Solaris platform fails with unknown host
 
(from 114670-01)
 
1149636 rcp does not return correct exit status


Patch Installation Instructions:
--------------------------------
 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-10 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.


Special Install Instructions:
-----------------------------
 
NOTE 1: To get the complete fix for bugid 4771893 (rcp fails to
        properly zero terminate ACLs), please also install the
        following patch:
 
        110671-03 (or greater)  /usr/sbin/static/rcp patch
 
NOTE 2: To get the complete fix for bugid 6473508 (rcp(1) use of
        'sh -c' in execl() can cause execution of arbitrary code
        through malformed filenames), please also install the
        following patch:
 
        110671-04 (or greater)  /usr/sbin/static/rcp patch


README -- Last modified date: Saturday, November 10, 2012