CVE-2016-5725
JCraft/JSch Java Secure Channel 0.1.53 - Recursive sftp-get Directory Traversal
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Vulnerabilidad de salto de directorio en JCraft JSch en versiones anteriores a 0.1.54 en Windows, cuando el modo es ChannelSftp.OVERWRITE, permite a servidores SFTP remotos escribir a archivos arbitrarios a través de una .. \ (punto punto barra hacia atrás) en una respuesta a un comando GET recursivo.
A vulnerability was discovered in JSch that allows a malicious sftp server to force a client-side relative path traversal in jsch's implementation for recursive sftp-get. An attacker could leverage this to write files outside the client's download basedir with effective permissions of the jsch sftp client process.
A malicious sftp server may force a client-side relative path traversal in jsch's implementation for recursive sftp-get allowing the server to write files outside the clients download basedir with effective permissions of the jsch sftp client process. Versions 0.1.53 and below are affected.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2016-06-18 CVE Reserved
- 2016-09-21 CVE Published
- 2024-08-03 EPSS Updated
- 2024-08-06 CVE Updated
- 2024-08-06 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
References (13)
URL | Tag | Source |
---|---|---|
http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html | Third Party Advisory | |
http://seclists.org/fulldisclosure/2016/Sep/53 | Mailing List | |
http://www.jcraft.com/jsch/ChangeLog | Release Notes | |
http://www.securityfocus.com/bid/93100 | Third Party Advisory | |
https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 | Third Party Advisory | |
https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html | Mailing List | |
https://www.oracle.com/security-alerts/cpuApr2021.html | X_refsource_misc | |
https://www.oracle.com/security-alerts/cpujan2021.html | X_refsource_misc | |
https://www.oracle.com/security-alerts/cpuoct2020.html | X_refsource_misc |
URL | Date | SRC |
---|---|---|
https://www.exploit-db.com/exploits/40411 | 2024-08-06 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/errata/RHSA-2017:3115 | 2021-06-14 | |
https://access.redhat.com/security/cve/CVE-2016-5725 | 2017-11-02 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1375941 | 2017-11-02 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Jcraft Search vendor "Jcraft" | Jsch Search vendor "Jcraft" for product "Jsch" | <= 0.1.53 Search vendor "Jcraft" for product "Jsch" and version " <= 0.1.53" | - |
Affected
| in | Microsoft Search vendor "Microsoft" | Windows Search vendor "Microsoft" for product "Windows" | * | - |
Safe
|