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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://seclists.org/fulldisclosure/2016/Sep/53 | third party advisory mailing list |
http://www.securityfocus.com/bid/93100 | third party advisory vdb entry |
https://access.redhat.com/errata/RHSA-2017:3115 | vendor advisory |
https://www.exploit-db.com/exploits/40411/ | third party advisory vdb entry exploit |
https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html | mailing list |
https://www.oracle.com/security-alerts/cpuoct2020.html | |
http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html | third party advisory vdb entry |
https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 | third party advisory |
http://www.jcraft.com/jsch/ChangeLog | release notes |
https://www.oracle.com/security-alerts/cpujan2021.html | |
https://www.oracle.com/security-alerts/cpuApr2021.html |