CVE-2019-6111Openbsd Openssh
Medium 5.9 No auth neededHigh EPSS
Follow: this CVE · Openbsd · Openbsd Openssh We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 5.9
- EPSS
- 58.2% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jan 31, 2019
- Updated
- Oct 14, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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).
What to do
- Apply the vendor's security update for Openssh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| 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 |
| freebsd | freebsd | 12.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 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Broken Link
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Exploit Issue Tracking Third Party Advisory
- cert-portal.siemens.com Third Party Advisory
- cvsweb.openbsd.org Release Notes
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- sintonen.fi Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.freebsd.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- cert-portal.siemens.com
- cert-portal.siemens.com