Secunia Logo
Netsikker nu! 2008
 
WinSCP Protocol Handler Command Line Switch Injection
Secunia Advisory: SA20575
Release Date: 2006-06-12
Last Update: 2007-09-14
Popularity: 8,426 views

Critical:
Highly critical
Impact: Manipulation of data
System access
Where: From remote
Solution Status: Unpatched

Software:WinSCP 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3015


Description:
Jelmer Kuperus has discovered a vulnerability in WinSCP, which can be exploited by malicious people to manipulate certain files on a user's system and potentially to compromise a vulnerable system.

The vulnerability is caused due to an error within the handling of the "scp://" and "sftp://" protocol handlers. This can be exploited to insert additional command line switches, potentially to cause WinSCP to append log entries to arbitrary files on the user's system, or to download files onto the user's system via a specially crafted URL.

Successful exploitation requires that the user is e.g. tricked into following a malicious link.

The vulnerability is confirmed in version 3.8.1 build 328. Other versions may also be affected.

Solution:
Upgrade to version 4.0.4.
http://winscp.net/eng/download.php

Provided and/or discovered by:
Jelmer Kuperus.

Changelog:
2006-06-20: Added CVE reference.
2006-06-21: Updated "Solution" section.
2007-09-14: Updated "Solution" section and set "Solution Status" to "Unpatched" based on additional information provided by Kender.Security.

Original Advisory:
http://winscp.net/eng/docs/history#4.0.4

http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046810.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

Today
New advisories: 18
New vulnerabilities: 65
Updated advisories: 61

Moderately // 24 views
Atarone CMS Multiple Vulnerabilities
Moderately // 112 views
Debian update for squid
Less // 117 views
SUSE update for mercurial
Moderately // 139 views
SUSE update for openssh
Less // 122 views
Fedora update for mediawiki

Solutions | More...  


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.

Most Popular - 3 Hours

1. SUSE update for openssh // 116 views
2. SUSE update for mercurial // 97 views
3. Debian update for squid // 95 views
4. SUSE update for dovecot and graphicsmagic // 83 views
5. CMME Information Disclosure Security Issues // 83 views
6. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 71 views
7. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 67 views
8. HP-UX NFS/ONCplus Denial of Service Vulnerability // 60 views
9. Fedora update for mediawiki // 51 views
10. MetaGauge Directory Traversal Vulnerability // 48 views