CVE-2016-5725 EXPLOIT
5.9
MEDIUM · CVSS 3.0 · EPSS 24.1% (pctl 98)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 5.9 (MEDIUM, v3.0) |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| EPSS | 24.14% — more likely to be exploited than 98% of all CVEs |
| Weakness | CWE-22 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2017-01-19 |
| Last modified | 2026-06-17 |
Affected (2)
| Vendor | Product |
|---|---|
| jcraft | jsch |
| microsoft | windows |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | JCraft/JSch Java Secure Channel 0.1.53 - Recursive sftp-get Directory Traversal | 2016-09-22 |
References
- http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html
- http://seclists.org/fulldisclosure/2016/Sep/53
- http://www.jcraft.com/jsch/ChangeLog
- http://www.securityfocus.com/bid/93100
- https://access.redhat.com/errata/RHSA-2017:3115
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725
- https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html
- https://www.exploit-db.com/exploits/40411/
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html
- http://seclists.org/fulldisclosure/2016/Sep/53
- http://www.jcraft.com/jsch/ChangeLog
- http://www.securityfocus.com/bid/93100
- https://access.redhat.com/errata/RHSA-2017:3115
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725
- https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html
- https://www.exploit-db.com/exploits/40411/
- https://www.oracle.com/security-alerts/cpuApr2021.html
→ the Explorer · watch your stack · NVD