CVE-2019-6111
Last modified
CVE-2019-6111 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 58.20% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openbsd | Openssh | <= 7.9 |
| Winscp | Winscp | <= 5.1.3 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux Eus | 8.1 |
| Redhat | Enterprise Linux Eus | 8.2 |
| Redhat | Enterprise Linux Eus | 8.4 |
| Redhat | Enterprise Linux Eus | 8.6 |
| Redhat | Enterprise Linux Server Aus | 8.2 |
| Redhat | Enterprise Linux Server Aus | 8.4 |
| Redhat | Enterprise Linux Server Aus | 8.6 |
| Redhat | Enterprise Linux Server Tus | 8.2 |
| Redhat | Enterprise Linux Server Tus | 8.4 |
| Redhat | Enterprise Linux Server Tus | 8.6 |
| Fedoraproject | Fedora | 30 |
| Apache | Mina Sshd | 2.2.0 |
| Freebsd | Freebsd | < 12.0 |
| Freebsd | Freebsd | 12.0 |
| Fujitsu | M10-1 Firmware | < xcp2361 |
| Fujitsu | M10-4 Firmware | < xcp2361 |
| Fujitsu | M10-4s Firmware | < xcp2361 |
| Fujitsu | M12-1 Firmware | < xcp2361 |
| Fujitsu | M12-2 Firmware | < xcp2361 |
| Fujitsu | M12-2s Firmware | < xcp2361 |
| Fujitsu | M10-1 Firmware | < xcp3070 |
| Fujitsu | M10-4 Firmware | < xcp3070 |
| Fujitsu | M10-4s Firmware | < xcp3070 |
| Fujitsu | M12-1 Firmware | < xcp3070 |
| Fujitsu | M12-2 Firmware | < xcp3070 |
| Fujitsu | M12-2s Firmware | < xcp3070 |
| Siemens | Scalance X204rna Firmware | < 3.2.7 |
| Siemens | Scalance X204rna Eec Firmware | < 3.2.7 |
References
- http://www.openwall.com/lists/oss-security/2019/04/18/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/08/02/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/106741Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:3702Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1677794Exploit, Issue Tracking, Third 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.debian.org/debian-lts-announce/2019/03/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201903-16Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190213-0001/Third Party Advisory
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtThird Party Advisory
- https://usn.ubuntu.com/3885-1/Third Party Advisory
- https://usn.ubuntu.com/3885-2/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4387Third Party Advisory
- https://www.exploit-db.com/exploits/46193/Exploit, Third Party Advisory, VDB Entry
- https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.ascThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlPatch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2019/04/18/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/08/02/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/106741Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:3702Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1677794Exploit, Issue Tracking, Third 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.debian.org/debian-lts-announce/2019/03/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201903-16Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190213-0001/Third Party Advisory
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtThird Party Advisory
- https://usn.ubuntu.com/3885-1/Third Party Advisory
- https://usn.ubuntu.com/3885-2/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4387Third Party Advisory
- https://www.exploit-db.com/exploits/46193/Exploit, Third Party Advisory, VDB Entry
- https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.ascThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-6111?
How severe is CVE-2019-6111?
How do I fix CVE-2019-6111?
Are you affected by CVE-2019-6111?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
