Josh Bressers has reported a weakness in OpenSSH, which potentially can be exploited by malicious, local users to perform certain actions with escalated privileges.
The weakness is caused due to the insecure use of the "system()" function in scp when performing copy operations using filenames that are supplied by the user from the command line. This can be exploited to execute shell commands with privileges of the user running scp.
Successful exploitation requires that the user is e.g. tricked into using scp to copy a file with a specially crafted filename.
The weakness has been confirmed in version 4.2p1. Other versions may also be affected.
Solution: The weakness has been fixed in version 4.3p1.
Provided and/or discovered by: Josh Bressers
Original Advisory: Red Hat Bugzilla:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: OpenSSH scp Command Line Shell Command Injection
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.