CVE-2019-6111

medium
Published 2019-11-05 ยท Modified 2019-11-05
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.5

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

Exploit likelihood
55%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-46516 remote multiple
Harry Sintonen ยท 2019-01-11

OpenSSH SCP Client - Write Arbitrary Files

Source code queued for fetch โ€” refresh in a moment.
EDB-46193 remote multiple
Mark E. Haase ยท 2019-01-18

SCP Client - Multiple Vulnerabilities (SSHtranger Things)

Source code queued for fetch โ€” refresh in a moment.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 8.0p1-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1:7.9p1-9
sid Fixed 1:7.9p1-9
forky Fixed 1:7.9p1-9
bullseye Fixed 1:7.9p1-9
bookworm Fixed 1:7.9p1-9
redhat Red Hat Fixed 1 release
VersionStatusFixed in
8 Fixed โ€”

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.