Live threats

All CVEs / Openbsd

CVE-2019-6111Openbsd Openssh

Medium 5.9 No auth neededHigh EPSS

Priority
56
CVSS 3.1
5.9
EPSS
58.2%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Jan 31, 2019
Updated
Oct 14, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Openssh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
openbsdopenssh≤ 7.9
winscpwinscp≤ 5.1.3
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10
debiandebian_linux8.0
debiandebian_linux9.0
redhatenterprise_linux7.0
redhatenterprise_linux8.0
redhatenterprise_linux_eus8.1
redhatenterprise_linux_eus8.2
redhatenterprise_linux_eus8.4
redhatenterprise_linux_eus8.6
redhatenterprise_linux_server_aus8.2
redhatenterprise_linux_server_aus8.4
redhatenterprise_linux_server_aus8.6
redhatenterprise_linux_server_tus8.2
redhatenterprise_linux_server_tus8.4
redhatenterprise_linux_server_tus8.6
fedoraprojectfedora30
apachemina_sshd2.2.0
freebsdfreebsd< 12.0
freebsdfreebsd12.0
freebsdfreebsd12.0
freebsdfreebsd12.0
freebsdfreebsd12.0
fujitsum10-1_firmware< xcp2361
fujitsum10-4_firmware< xcp2361
fujitsum10-4s_firmware< xcp2361
fujitsum12-1_firmware< xcp2361
fujitsum12-2_firmware< xcp2361
fujitsum12-2s_firmware< xcp2361
fujitsum10-1_firmware< xcp3070
fujitsum10-4_firmware< xcp3070
fujitsum10-4s_firmware< xcp3070
fujitsum12-1_firmware< xcp3070
fujitsum12-2_firmware< xcp3070
fujitsum12-2s_firmware< xcp3070
siemensscalance_x204rna_firmware< 3.2.7
siemensscalance_x204rna_eec_firmware< 3.2.7

Official sources

References

Links published by the sources. Open them with care.