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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-6033Cross-site scripting vulnerability in a-blog cms versions pr…6.1
- CVE-2019-6034a-blog cms versions prior to Ver.2.10.23 (Ver.2.10.x), Ver.2…6.1
- CVE-2019-6035Open redirect vulnerability in Athenz v1.8.24 and earlier al…6.1
- CVE-2019-6036Cross-site scripting vulnerability in F-RevoCRM 6.0 to F-Rev…6.1
- CVE-2019-6109An issue was discovered in OpenSSH 7.9. Due to missing chara…6.8
- CVE-2019-6110In OpenSSH 7.9, due to accepting and displaying arbitrary st…6.8
- CVE-2019-6112A Cross-site scripting (XSS) vulnerability in /inc/class-sea…6.1
- CVE-2019-6113Directory traversal vulnerability on ONKYO TX-NR686 1030-500…
- CVE-2019-6114An issue was discovered in Corel PaintShop Pro 2019 21.0.0.1…
- CVE-2019-6116In Artifex Ghostscript through 9.26, ephemeral or transient …7.8
- CVE-2019-6117The wpape APE GALLERY plugin 1.6.14 for WordPress has stored…
- CVE-2019-6120An issue was discovered in NiceHash Miner before 2.0.3.0. A …7.5
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
