Vulnerability Description
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).
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openbsd | Openssh | <= 7.9 |
| Winscp | Winscp | <= 5.1.3 |
| Canonical | Ubuntu Linux | 14.04 |
| Debian | Debian Linux | 8.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux Eus | 8.1 |
| Redhat | Enterprise Linux Server Aus | 8.2 |
| Redhat | Enterprise Linux Server Tus | 8.2 |
| Fedoraproject | Fedora | 30 |
| Apache | Mina Sshd | 2.2.0 |
| Freebsd | Freebsd | < 12.0 |
| Fujitsu | M10-1 Firmware | < xcp2361 |
| Fujitsu | M10-1 | - |
| Fujitsu | M10-4 Firmware | < xcp2361 |
| Fujitsu | M10-4 | - |
| Fujitsu | M10-4S Firmware | < xcp2361 |
| Fujitsu | M10-4S | - |
| Fujitsu | M12-1 Firmware | < xcp2361 |
| Fujitsu | M12-1 | - |
| Fujitsu | M12-2 Firmware | < xcp2361 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.htmlBroken Link
- http://www.openwall.com/lists/oss-security/2019/04/18/1Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2022/08/02/1Mailing ListThird Party Advisory
- http://www.securityfocus.com/bid/106741Broken LinkThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:3702Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1677794ExploitIssue TrackingThird Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfThird Party Advisory
- https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.cRelease Notes
- https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880d
- https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d1
- https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e
- https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def973
- https://lists.debian.org/debian-lts-announce/2019/03/msg00030.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/201903-16Third Party Advisory
FAQ
What is CVE-2019-6111?
CVE-2019-6111 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 perfo...
How severe is CVE-2019-6111?
CVE-2019-6111 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-6111?
Check the references section above for vendor advisories and patch information. Affected products include: Openbsd Openssh, Winscp Winscp, Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux.