CVE-2019-6111
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).
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2019-6111
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2019-6111.html
Vendor advisory: arch — https://security.archlinux.org/ASA-201904-11
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 8.0p1-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 1:7.9p1-9 |
| debian | bullseye | fixed | 1:7.9p1-9 |
| debian | forky | fixed | 1:7.9p1-9 |
| debian | sid | fixed | 1:7.9p1-9 |
| debian | trixie | fixed | 1:7.9p1-9 |
References
Verify integrity in audit chain (admin only). AS-IS.