Path Traversal in Jcraft Jsch
CVE-2016-5725
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.241, 97.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, ARPSyndicate/cve-scores, mergebase/csv-compare, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- 20160921 CVE-2016-5725 - JCraft/JSch Java Secure Channel <= 0.1.53 recursive sftp-get path traversal (client-side, windows) (mailing-list, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/93100 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2017:3115 (vendor-advisory)
- www.exploit-db.com/exploits/40411/ (exploit, Third Party Advisory, VDB Entry)
- [debian-lts-announce] 20200425 [SECURITY] [DLA 2184-1] jsch security update (mailing-list)
- www.oracle.com/security-alerts/cpuoct2020.html
- packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html (VDB Entry, Third Party Advisory)
- github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 (Third Party Advisory)
- www.jcraft.com/jsch/ChangeLog (Release Notes)
- www.oracle.com/security-alerts/cpujan2021.html