CVE-2019-6111
Published: 14 January 2019
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).
Priority
CVSS 3 base score: 5.9
Status
Package | Release | Status |
---|---|---|
openssh Launchpad, Ubuntu, Debian |
Upstream |
Needs triage
|
Ubuntu 21.04 (Hirsute Hippo) |
Not vulnerable
(1:7.9p1-10)
|
|
Ubuntu 20.10 (Groovy Gorilla) |
Not vulnerable
(1:7.9p1-10)
|
|
Ubuntu 20.04 LTS (Focal Fossa) |
Not vulnerable
(1:7.9p1-10)
|
|
Ubuntu 18.04 LTS (Bionic Beaver) |
Released
(1:7.6p1-4ubuntu0.3)
|
|
Ubuntu 16.04 LTS (Xenial Xerus) |
Released
(1:7.2p2-4ubuntu2.8)
|
|
Ubuntu 14.04 ESM (Trusty Tahr) |
Released
(1:6.6p1-2ubuntu2.13)
|
|
Patches: Upstream: https://github.com/openssh/openssh-portable/commit/391ffc4b9d31fa1f4ad566499fef9176ff8a07dc Upstream: https://github.com/openssh/openssh-portable/commit/3d896c157c722bc47adca51a58dca859225b5874 |
||
openssh-ssh1 Launchpad, Ubuntu, Debian |
Upstream |
Ignored
(frozen on openssh 7.5p)
|
Ubuntu 21.04 (Hirsute Hippo) |
Needs triage
|
|
Ubuntu 20.10 (Groovy Gorilla) |
Needs triage
|
|
Ubuntu 20.04 LTS (Focal Fossa) |
Needs triage
|
|
Ubuntu 18.04 LTS (Bionic Beaver) |
Needs triage
|
|
Ubuntu 16.04 LTS (Xenial Xerus) |
Does not exist
|
|
Ubuntu 14.04 ESM (Trusty Tahr) |
Does not exist
|
Notes
Author | Note |
---|---|
seth-arnold | openssh-ssh1 is provided for compatibility with old devices that cannot be upgraded to modern protocols. Thus we may not provide security support for this package if doing so would prevent access to equipment. |
mdeslaur | The recommended workaround for this issue is to switch to using sftp instead of scp. The updates in USN-3885-1 inverted two CVE numbers by accident. The initial USN was incomplete and did not include the second commit. |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6111
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- https://lists.mindrot.org/pipermail/openssh-unix-dev/2019-January/037459.html
- https://usn.ubuntu.com/usn/usn-3885-1
- https://usn.ubuntu.com/usn/usn-3885-2
- NVD
- Launchpad
- Debian