22692 : OpenSSH scp Command Line Filename Processing Command Injection
Printer | http://osvdb.org/22692 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
7 3078 about 8 years ago 6 months ago 3 times 85%


Disclosure Date


OpenSSH contains a flaw that may allow an attacker to execute arbitrary commands. The flaw is due to the way OpenSSH's scp utility handles file names during local-to-local copies. During the file name expansion, the utility does not properly sanitize filenames allowing a crafted file name with shell meta-characters. This can be used to trick a user into executing arbitrary commands under with a different set of (potentially higher) privileges.


Location: Local Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Disclosure: Vendor Verified


Upgrade to version 4.3p1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.


Matt Johnston


Tools & Filters

20802 20875 20917 20953 21030 21063 22084 22474 24051 24811
3751 3947


  • Josh Bressers -

CVSSv2 Score

CVSSv2 Base Score = 4.6
Source: nvd.nist.gov | Generated: 2006-01-25 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1


No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and 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 copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2014 Open Sourced Vulnerability Database (OSVDB), All Rights Reserved.
License - Privacy Statement - Terms of Use