CVE-2016-5725: JCraft JSch - Path Traversal
- Cve: CVE-2016-5725
- Name: JCraft JSch - Path Traversal
- 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.
- Impact: Remote SFTP servers can write to arbitrary files on the client system, potentially leading to data tampering or system compromise.
- Remediation: Update to version 0.1.54 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.24143
- Epss percentile: 0.97898
- Assignee: [email protected]
- Published at: 2017-01-19T22:59:00Z
- Age in days: 3596
- Modified at: 2026-06-17T00:49:56Z
- References total: 11
- Products total: 1
- Oss: yes
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-5725
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Hackerone
- Reports: 1
- Rank: 5193
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html | Third Party Advisory, VDB Entry |
| http://seclists.org/fulldisclosure/2016/Sep/53 | Mailing List, Third Party Advisory |
| http://www.securityfocus.com/bid/93100 | Third Party Advisory, VDB Entry |
| https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 | Third Party Advisory |
| https://www.exploit-db.com/exploits/40411/ | Third Party Advisory, VDB Entry |
| http://www.jcraft.com/jsch/ChangeLog | Release Notes |
| https://access.redhat.com/errata/RHSA-2017:3115 | |
| https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html | |
| https://www.oracle.com/security-alerts/cpuApr2021.html | |
| https://www.oracle.com/security-alerts/cpujan2021.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jcraft:jsch | <= 0.1.53 | yes | nvd | /v1/products/jcraft/jsch |
Index
- Repositories: 37
- Repositories high signal: 12
- Packages: 1
Exploitation
- Exploitation seen: yes
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts