CVE-2019-6111

Medium

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

SeverityMedium
CVSS5.9
Exploit probability—
ProductOpenbsd Openssh
PublishedJan 31, 2019
First seenJan 31, 2019

How to fix

Update
  • freebsd freebsd12.0 or later
  • fujitsu m10-1_firmwarexcp2361, xcp3070 or later
  • fujitsu m10-4_firmwarexcp2361, xcp3070 or later
  • fujitsu m10-4s_firmwarexcp2361, xcp3070 or later
  • fujitsu m12-1_firmwarexcp2361, xcp3070 or later
  • fujitsu m12-2_firmwarexcp2361, xcp3070 or later
  • fujitsu m12-2s_firmwarexcp2361, xcp3070 or later
  • siemens scalance_x204rna_firmware3.2.7 or later
  • siemens scalance_x204rna_eec_firmware3.2.7 or later

Affected products

ProductAffected versionsFixed in
openbsd opensshv ≤ 7.9—
winscp winscpv ≤ 5.1.3—
canonical ubuntu_linux14.04, 16.04, 18.04, 18.10—
debian debian_linux8.0, 9.0—
redhat enterprise_linux7.0, 8.0—
redhat enterprise_linux_eus8.1, 8.2, 8.4, 8.6—
redhat enterprise_linux_server_aus8.2, 8.4, 8.6—
redhat enterprise_linux_server_tus8.2, 8.4, 8.6—
fedoraproject fedora30—
apache mina_sshd2.2.0—
freebsd freebsdv < 12.0, 12.012.0
fujitsu m10-1_firmwarev < xcp2361, v < xcp3070xcp2361, xcp3070
fujitsu m10-4_firmwarev < xcp2361, v < xcp3070xcp2361, xcp3070
fujitsu m10-4s_firmwarev < xcp2361, v < xcp3070xcp2361, xcp3070
fujitsu m12-1_firmwarev < xcp2361, v < xcp3070xcp2361, xcp3070
fujitsu m12-2_firmwarev < xcp2361, v < xcp3070xcp2361, xcp3070
fujitsu m12-2s_firmwarev < xcp2361, v < xcp3070xcp2361, xcp3070
siemens scalance_x204rna_firmwarev < 3.2.73.2.7
siemens scalance_x204rna_eec_firmwarev < 3.2.73.2.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.