Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2019-6111: openssh: Improper validation of object names allows malicious server to overwrite files via scp client

Back to Search

Red Hat OpenShift: CVE-2019-6111: openssh: Improper validation of object names allows malicious server to overwrite files via scp client

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:P)
Published
01/31/2019
Created
12/30/2020
Added
12/29/2020
Modified
12/29/2020

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

Solution(s)

  • linuxrpm-upgrade-redhat-coreos

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;