Security Vulnerability in scp(1) May Allow Execution of Unintended Commands



Category :Security
Release Phase :Resolved
Product :Solaris 9 Operating System
Solaris 10 Operating System  
Bug Id :6472377  
Date of Workaround Release :08-JUN-2007 
Date of Resolved Release :27-JUN-2007 


Impact

Due to a security vulnerability in the way the scp(1) command executes helper applications, certain additional unintended commands may be executed at the same time. This may allow a local unprivileged user (or a remote user in the case of shared filesystems) who is able to create files on the system, to execute arbitrary commands with the privileges of a local user, if those files are acted upon by the local user using the scp(1) command.

This issue is also referenced in the following document:

CVE-2006-0225 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0225


Contributing Factors

This issue can occur in the following releases:

SPARC Platform

x86 Platform

Note: Solaris 8 does not include the scp(1) command and is therefore not impacted by this issue.


Symptoms

There are no predictable symptoms that would indicate that this issue has been exploited to execute arbitrary commands.


Workaround

This issue will only occur if the scp(1) command is executed on files that have specially crafted filenames. Therefore, it may be possible to work around this issue by avoiding the use of the scp(1) command on untrusted filenames, for example, on directories that are writable by untrusted users.


Resolution

This issue is addressed in the following releases:

SPARC Platform

x86 Platform




Modification History


Date: 21-JUN-2007
  • Updated Contributing Factors and Resolution sections

Date: 27-JUN-2007
  • Updated Contributing Factors and Resolution sections
  • State: Resolved



Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 200867
Article Type : Sun Alert
Last reviewed : 2007-06-27
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article