Bug 997542 (CVE-2016-5725) - VUL-0: CVE-2016-5725: jsch: recursive sftp get client-side windows path traversal
Summary: VUL-0: CVE-2016-5725: jsch: recursive sftp get client-side windows path trave...
Status: RESOLVED INVALID
Alias: CVE-2016-5725
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Forgotten User l5HDYKT_qR
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/172395/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-07 06:50 UTC by Victor Pereira
Modified: 2017-03-17 11:09 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Pereira 2016-09-07 06:50:37 UTC
CVE-2016-5725

A malicious sftp server may force a client-side relative path traversal in jsch's implementation for recursive sftp-get allowing the server to write files outside the clients download basedir with effective permissions of the jsch sftp client process.

* affects recursive get, i.e. sftp :/* .
* post-auth
* file overwrite capability depends on the client specified mode:   * ChannelSftp.get(...,mode==ChannelSftp.OVERWRITE)
* windows only

References:
https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-5725
http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5725.html
Comment 1 Victor Pereira 2016-09-07 06:51:17 UTC
It is windows only. Linux platform isn't affected.
Comment 2 Marcus Meissner 2017-03-07 16:51:04 UTC
JCSH is a Java applet.

But it uses \ paths for this traversal, which only works on windows.
Comment 5 Swamp Workflow Management 2017-03-17 11:09:02 UTC
SUSE-SU-2017:0715-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 997542
CVE References: CVE-2016-5725
Sources used:
SUSE Manager Server 3.0 (src):    jsch-0.1.54-3.1