MEDIUM · 5.9

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 perfo...

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

5.9

MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE

Affected Products

VendorProductVersions
OpenbsdOpenssh<= 7.9
WinscpWinscp<= 5.1.3
CanonicalUbuntu Linux14.04
DebianDebian Linux8.0
RedhatEnterprise Linux7.0
RedhatEnterprise Linux Eus8.1
RedhatEnterprise Linux Server Aus8.2
RedhatEnterprise Linux Server Tus8.2
FedoraprojectFedora30
ApacheMina Sshd2.2.0
FreebsdFreebsd< 12.0
FujitsuM10-1 Firmware< xcp2361
FujitsuM10-1-
FujitsuM10-4 Firmware< xcp2361
FujitsuM10-4-
FujitsuM10-4S Firmware< xcp2361
FujitsuM10-4S-
FujitsuM12-1 Firmware< xcp2361
FujitsuM12-1-
FujitsuM12-2 Firmware< xcp2361

Related Weaknesses (CWE)

References

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.