Path Traversal in Apache Mina Sshd
CVE-2019-6111
An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.582 (99.1th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.582 · newest: 0.582 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.debian.org/security/2019/dsa-4387 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20190213-0001/ (Third Party Advisory)
- www.securityfocus.com/bid/106741 (VDB Entry, Third Party Advisory, vdb-entry, Broken Link)
- cvsweb.openbsd.org/src/usr.bin/ssh/scp.c (Release Notes)
- usn.ubuntu.com/3885-1/ (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3885-2/ (vendor-advisory, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt (Third Party Advisory)
- www.exploit-db.com/exploits/46193/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- security.gentoo.org/glsa/201903-16 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-6111?
- CVE-2019-6111 is a medium-severity vulnerability in Apache Mina Sshd, classified under Path Traversal. CVSS score: 5.9/10. Published 2019-01-31.
- How severe is CVE-2019-6111?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2019-6111 known to be exploited?
- 41 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.