Sun Solaris rcp command execution

solaris-rcp-command-execution (35334) The risk level is classified as MediumMedium Risk

Description:

Sun Solaris could allow a local or authenticated remote attacker to execute arbitrary commands on the system. A remote attacker could exploit this vulnerability by creating a file with a specially-crafted name to execute arbitrary commands on the system, if the attacker could persuade the victim to copy the file using the rcp command.

Note: In order to remotely exploit this vulnerability, Solaris must be configured with a shared filesystem.

Platforms Affected:

  • Avaya, Call Management System 12
  • Avaya, Call Management System 13
  • Avaya, Call Management System 13.1
  • Avaya, Call Management System 14
  • Avaya, Interactive Response 1.3
  • Avaya, Interactive Response 2.0
  • Avaya, Interactive Response 3.0
  • Sun, Solaris 10 SPARC
  • Sun, Solaris 10 x86
  • Sun, Solaris 8 x86
  • Sun, Solaris 8 SPARC
  • Sun, Solaris 9 x86
  • Sun, Solaris 9 SPARC

Remedy:

Refer to Sun Alert ID: 102978 for patch, upgrade, or suggested workaround information. See References.

For Avaya (rcp):
Refer to ASA-2007-319 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Privileges

References:

  • Sun Alert ID: 102978, Security Vulnerability in the rcp(1) Command May Allow Execution of Unintended Commands at http://sunsolve.sun.com/search/document.do?assetkey=1-26-102978-1.
  • ASA-2007-319: Security Vulnerability in the rcp(1) Command May Allow Execution of Unintended Commands (Sun 102978)
  • CVE-2007-3717: rcp on Sun Solaris 8, 9, and 10 before 20070710 does not properly call certain helper applications, which allows local users to gain privileges by creating files with certain names, possibly containing shell metacharacters or spaces, a similar issue to CVE-2006-0225.
  • SA26024: Sun Solaris rcp Command Line Shell Command Injection
  • SA26210: Avaya CMS / IR Solaris rcp Command Line Shell Command Injection
  • VUPEN/ADV-2007-2494: Sun Solaris rcp Command Filename Processing Code Execution Vulnerability

Reported:

Jul 10, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page