{"id":"CVE-2016-5725","published":"2017-01-19T22:00:00Z","modified":"2024-08-06T01:07:59Z","title":"Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE…","vendor":null,"product":null,"tier":"tail","description":{"text":"Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\\ (dot dot backslash) in a response to a recursive GET command.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.24143,"percentile":0.97898,"provenance":"source"},"cwes":[],"references":[{"url":"http://seclists.org/fulldisclosure/2016/Sep/53","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.securityfocus.com/bid/93100","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3115","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.exploit-db.com/exploits/40411/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725","tags":["x_refsource_MISC"]},{"url":"http://www.jcraft.com/jsch/ChangeLog","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.58},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-09-22"},"first":{"date":"2016-09-22","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/40411"},"provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.jcraft:jsch","vulnerableRanges":["<0.1.54"],"patched":["0.1.54"],"from":["GHSA-q446-82vq-w674"],"provenance":"source"}],"summary":{"text":"The flaw is a directory traversal vulnerability in the JCraft JSch library, in versions before 0.1.54 on Windows, affecting the SFTP channel when the mode is ChannelSftp.OVERWRITE. An attacker operating a malicious remote SFTP server can exploit it by embedding a ..\\ sequence in its response to a recursive GET command, which allows the server to write to arbitrary files on the client, with no further conditions beyond the client using that mode and performing that recursive download.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:05Z"},"euvd":{"id":"EUVD-2022-4872","exploited":false,"provenance":"source"},"exploits":[{"id":40411,"url":"https://www.exploit-db.com/exploits/40411","title":"JCraft/JSch Java Secure Channel 0.1.53 - Recursive sftp-get Directory Traversal","date":"2016-09-22","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/40411/","http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html","https://www.exploit-db.com/exploits/40411"]}