CVE-2019-6111

MEDIUMCVSS 5.9/10EPSS 58.20%

Last modified

CVE-2019-6111 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 58.20% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
5.9/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS Probability
58.20%

99.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-6111?
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).
How severe is CVE-2019-6111?
CVE-2019-6111 has a CVSS score of 5.9/10 (MEDIUM severity). The EPSS model estimates a 58.20% probability of exploitation in the next 30 days.
How do I fix CVE-2019-6111?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-6111?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST