|
OpenSSH scp Command Line Shell Command Injection
|
|
|
|
|
Secunia Advisory:
|
SA18579
|
|
|
Release Date:
|
2006-01-24
|
|
Last Update:
|
2006-02-13
|
|
|
Critical:
|

Not critical
|
|
Impact:
|
Privilege escalation
|
|
Where:
|
Local system
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | OpenSSH 3.x OpenSSH 4.x
|
| | CVE reference: | CVE-2006-0225 (Secunia mirror)
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
Description: 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
Changelog: 2006-02-13: Updated "Solution" section.
Original Advisory: Red Hat Bugzilla:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174026
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
12 Related Secunia Security Advisories, displaying 10
|
|
|
1. OpenSSH "X11UseLocalhost" X11 Forwarding Security Issue
|
|
2. OpenSSH ForceCommand Bypass Weakness
|
|
3. OpenSSH X11 Forwarding Information Disclosure Vulnerability
|
|
4. OpenSSH Privilege Separation Monitor Weakness
|
|
5. OpenSSH Signal Handling Vulnerability and User Enumeration Weakness
|
|
6. OpenSSH Identical Blocks Denial of Service Vulnerability
|
|
7. OpenSSH Two Security Issues
|
|
8. OpenSSH PAM implementation Vulnerability
|
|
9. OpenSSH "buffer_append_space()" Buffer Management Vulnerability
|
|
10. OpenSSH IP address restriction bypass
|
Show all related advisories
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|