CVE-2016-5725
Jcraft Jsch vulnerability
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.
Affected products
Jsch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jcraft Jsch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html · Third Party Advisory
- seclists.org/fulldisclosure/2016/Sep/53 · Third Party Advisory
- www.securityfocus.com/bid/93100 · Third Party Advisory
- github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 · Third Party Advisory
- www.exploit-db.com/exploits/40411/ · Third Party Advisory
- www.jcraft.com/jsch/ChangeLog
- access.redhat.com/errata/RHSA-2017:3115
- lists.debian.org/debian-lts-announce/2020/04/msg00017.html
- nvd.nist.gov/vuln/detail/CVE-2016-5725
- cve.org/CVERecord?id=CVE-2016-5725
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.