Thread-topic: [SA20575] WinSCP Protocol Handler Command Line Switch Injection
>
> TITLE:
> WinSCP Protocol Handler Command Line Switch Injection
>
> SECUNIA ADVISORY ID:
> SA20575
>
> VERIFY ADVISORY:
> http://secunia.com/advisories/20575/
>
> CRITICAL:
> Highly critical
>
> IMPACT:
> Manipulation of data, System access
>
> WHERE:
> From remote
>
> SOFTWARE:
> WinSCP 3.x
> http://secunia.com/product/6326/
>
> 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 has been confirmed in version 3.8.1 build 328.
> Other versions may also be affected.
>
> SOLUTION:
> Do not follow links from untrusted websites.
>
> PROVIDED AND/OR DISCOVERED BY:
> Jelmer Kuperus
>
> ORIGINAL ADVISORY:
> http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/0
> 46810.html
>