Medium · published January 31, 2019
CVSS calls it medium at 5.9. It sits in the 99.1th percentile for exploit probability.
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).
| Product | Versions | Fixed in |
|---|---|---|
| openbsd/openssh | ≤ 7.9 | — |
| winscp/winscp | ≤ 5.1.3 | — |
| canonical/ubuntu_linux | all versions | — |
| canonical/ubuntu_linux | all versions | — |
| canonical/ubuntu_linux | all versions | — |
| canonical/ubuntu_linux | all versions | — |
| debian/debian_linux | all versions | — |
| debian/debian_linux | all versions | — |
| redhat/enterprise_linux | all versions | — |
| redhat/enterprise_linux | all versions | — |
| redhat/enterprise_linux_eus | all versions | — |
| redhat/enterprise_linux_eus | all versions | — |
| redhat/enterprise_linux_eus | all versions | — |
| redhat/enterprise_linux_eus | all versions | — |
| redhat/enterprise_linux_server_aus | all versions | — |
| redhat/enterprise_linux_server_aus | all versions | — |
| redhat/enterprise_linux_server_aus | all versions | — |
| redhat/enterprise_linux_server_tus | all versions | — |
| redhat/enterprise_linux_server_tus | all versions | — |
| redhat/enterprise_linux_server_tus | all versions | — |
| fedoraproject/fedora | all versions | — |
| apache/mina_sshd | all versions | — |
| freebsd/freebsd | < 12.0 | 12.0 |
| freebsd/freebsd | all versions | — |
| freebsd/freebsd | all versions | — |
| freebsd/freebsd | all versions | — |
| freebsd/freebsd | all versions | — |
| fujitsu/m10-1_firmware | < xcp2361 | xcp2361 |
| fujitsu/m10-4_firmware | < xcp2361 | xcp2361 |
| fujitsu/m10-4s_firmware | < xcp2361 | xcp2361 |
| fujitsu/m12-1_firmware | < xcp2361 | xcp2361 |
| fujitsu/m12-2_firmware | < xcp2361 | xcp2361 |
| fujitsu/m12-2s_firmware | < xcp2361 | xcp2361 |
| fujitsu/m10-1_firmware | < xcp3070 | xcp3070 |
| fujitsu/m10-4_firmware | < xcp3070 | xcp3070 |
| fujitsu/m10-4s_firmware | < xcp3070 | xcp3070 |
| fujitsu/m12-1_firmware | < xcp3070 | xcp3070 |
| fujitsu/m12-2_firmware | < xcp3070 | xcp3070 |
| fujitsu/m12-2s_firmware | < xcp3070 | xcp3070 |
| siemens/scalance_x204rna_firmware | < 3.2.7 | 3.2.7 |
| siemens/scalance_x204rna_eec_firmware | < 3.2.7 | 3.2.7 |