Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2019-6111: Improper validation of object names allows malicious server to overwrite files via scp client (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2019-6111: Improper validation of object names allows malicious server to overwrite files via scp client (Multiple Advisories)

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:P)
Published
01/31/2019
Created
11/07/2019
Added
11/06/2019
Modified
12/15/2023

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)

  • redhat-upgrade-openssh
  • redhat-upgrade-openssh-askpass
  • redhat-upgrade-openssh-askpass-debuginfo
  • redhat-upgrade-openssh-cavs
  • redhat-upgrade-openssh-cavs-debuginfo
  • redhat-upgrade-openssh-clients
  • redhat-upgrade-openssh-clients-debuginfo
  • redhat-upgrade-openssh-debuginfo
  • redhat-upgrade-openssh-debugsource
  • redhat-upgrade-openssh-keycat
  • redhat-upgrade-openssh-keycat-debuginfo
  • redhat-upgrade-openssh-ldap
  • redhat-upgrade-openssh-ldap-debuginfo
  • redhat-upgrade-openssh-server
  • redhat-upgrade-openssh-server-debuginfo
  • redhat-upgrade-pam_ssh_agent_auth
  • redhat-upgrade-pam_ssh_agent_auth-debuginfo

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

;