5.9med
CVE-2016-57251 exploit
Improper Limitation of a Pathname to a Restricted Directory in JCraft JSch
Also known as GHSA-q446-82vq-w674
Published 9 y ago · modified 58 d ago · JSON
CVSS
5.9
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
24.1%
percentile 98%
Public exploits
1
Exploit-DB
Summary
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.
Exploit prediction (EPSS)
24.14% probability of exploitation in the next 30 days, higher than 98% of all scored CVEs.
Exploits and detections
- EDB-40411 JCraft/JSch Java Secure Channel 0.1.53 - Recursive sftp-get Directory Traversal · dos · 2016-09-22
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.jcraft:jsch | <0.1.54 | 0.1.54 |
Classification
- Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- seclists.org /fulldisclosure/2016/Sep/53 · mailing-list, x_refsource_FULLDISC, x_transferred
- securityfocus.com /bid/93100 · vdb-entry, x_refsource_BID, x_transferred
- access.redhat.com /errata/RHSA-2017:3115 · vendor-advisory, x_refsource_REDHAT, x_transferred
- exploit-db.com /exploits/40411/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
- lists.debian.org /debian-lts-announce/2020/04/msg00017.html · mailing-list, x_refsource_MLIST, x_transferred
- oracle.com /security-alerts/cpuoct2020.html · x_refsource_MISC, x_transferred
- packetstormsecurity.com /files/138809/jsch-0.1.53-Path-Traversal.html · x_refsource_MISC, x_transferred
- github.com /tintinweb/pub/tree/master/pocs/cve-2016-5725 · x_refsource_MISC, x_transferred
- jcraft.com /jsch/ChangeLog · x_refsource_CONFIRM, x_transferred
- oracle.com /security-alerts/cpujan2021.html · x_refsource_MISC, x_transferred
- oracle.com /security-alerts/cpuApr2021.html · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-5725 · advisory
- exploit-db.com /exploits/40411 · web
Sources
- CVE List: CVE-2016-5725
- GitHub Advisory: GHSA-q446-82vq-w674
- NVD: CVE-2016-5725
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.