Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-1E7FA41B-F6CA-4FE8-BD46-0E176B42B14F (CVE-2019-14889): libssh -- Unsanitized location in scp could lead to unwanted command execution

Back to Search

FreeBSD: VID-1E7FA41B-F6CA-4FE8-BD46-0E176B42B14F (CVE-2019-14889): libssh -- Unsanitized location in scp could lead to unwanted command execution

Severity
9
CVSS
(AV:N/AC:M/Au:N/C:C/I:C/A:C)
Published
11/14/2019
Created
02/05/2020
Added
02/03/2020
Modified
02/03/2020

Description

A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. In case the library is used in a way where users can influence the third parameter of the function, it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target.

Solution(s)

  • freebsd-upgrade-package-libssh

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

;