CVE-2016-5725
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 24.1% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 24.1% in the next 30 days (EPSS).
- Severity: 5.9 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 24.1% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Jcraft Jsch ≤ 0.1.53
Attack profile CVSS 3.0 · 5.9
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-5725.md and follow it. Check whether this project is affected by CVE-2016-5725. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
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
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuoct2020.html