Skip to content
OpenAdvisories
Medium · 5.9 Public exploit CVE-2019-6111 EUVD-2019-15678GHSA-jr78-hfw4-xp7g

An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directori…

Published Jan 31, 2019 · Updated Oct 14, 2026 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:7.9p1-9 —
Debian 13 openssh 1:7.9p1-9 —
Debian 12 openssh 1:7.9p1-9 —
Debian 9 openssh 1:7.4p1-10+deb9u5 DSA-4387-2, DSA-4387-1
Debian 8 openssh 1:6.7p1-5+deb8u8 DLA-1728-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS openssh-ssh1 No fix yet —
Ubuntu 22.04 LTS openssh-ssh1 No fix yet —
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh 1:7.6p1-4ubuntu0.3 USN-3885-2, USN-3885-1
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
Ubuntu 16.04 LTS openssh 1:7.2p2-4ubuntu2.8 USN-3885-2, USN-3885-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS openssh 1:6.6p1-2ubuntu2.13 USN-3885-2, USN-3885-1
Ubuntu Pro FIPS 16.04 LTS openssh 1:7.2p2-4ubuntu2.fips.2.10.1 —
Ubuntu Pro FIPS-updates 16.04 LTS openssh 1:7.2p2-4ubuntu2.fips.2.8.1 —
ReleasePackageFixed inAdvisory
RHEL 8 openssh +6 8.0p1-3.el8 RHSA-2019:3702
RHEL 8 pam_ssh_agent_auth 0.10.3-7.3.el8 RHSA-2019:3702

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 openssh 8.0p1-30.el8_10 RLSA-2019:3702
ReleasePackageFixed inAdvisory
SLES 15 openssh +1 7.6p1-9.13.1 SUSE-SU-2019:0496-1, SUSE-SU-2019:0126-1
SLES 12 SP4 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
SLES 12 SP3 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
SLES 12 SP2 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
SLES 12 SP1 openssh +1 6.6p1-54.26.1 SUSE-SU-2019:0941-1, SUSE-SU-2019:0125-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 openssh +1 6.6p1-54.26.1 SUSE-SU-2019:0941-1, SUSE-SU-2019:0125-1
SLES 11 SP4 openssh +1 6.6p1-36.12.1 SUSE-SU-2019:14030-1, SUSE-SU-2019:13931-1
SLES for SAP 12 SP4 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
SLES for SAP 12 SP3 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
SLES for SAP 12 SP2 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
SLES for SAP 12 SP1 openssh +1 6.6p1-54.26.1 SUSE-SU-2019:0941-1, SUSE-SU-2019:0125-2
SLES for SAP 11 SP4 openssh +1 6.6p1-36.12.1 SUSE-SU-2019:13931-1
SUSE OpenStack Cloud 7 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
SUSE Linux Enterprise Point of Sale 11 SP3 openssh +1 6.6p1-41.18.1 SUSE-SU-2019:14016-1
SUSE Enterprise Storage 4 openssh +1 7.2p2-74.35.1 SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssh 8.4p1-7.4 openSUSE-SU-2024:11124-1
openSUSE Leap 15.0 openssh 7.6p1-lp150.8.9.1 openSUSE-SU-2019:0307-1, openSUSE-SU-2019:0091-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dropbear 2025.89-r0 —
Alpine v3.24 openssh 7.9_p1-r3 —
Alpine v3.23 openssh 7.9_p1-r3 —
Alpine v3.22 openssh 7.9_p1-r3 —
Alpine v3.21 openssh 7.9_p1-r3 —
Alpine v3.20 openssh 7.9_p1-r3 —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssh 7.9_p1-r3 —
Alpine v3.18 openssh 7.9_p1-r3 —
Alpine v3.17 openssh 7.9_p1-r3 —
Alpine v3.16 openssh 7.9_p1-r3 —
Alpine v3.15 openssh 7.9_p1-r3 —
Alpine v3.14 openssh 7.9_p1-r3 —
Alpine v3.13 openssh 7.9_p1-r3 —
Alpine v3.12 openssh 7.9_p1-r3 —
Alpine v3.11 openssh 7.9_p1-r3 —
Alpine v3.10 openssh 7.9_p1-r3 —
Alpine v3.9 openssh 7.9_p1-r3 —
Alpine v3.8 openssh 7.7_p1-r4 —
Alpine v3.7 openssh 7.5_p1-r10 —
Alpine v3.6 openssh 7.5_p1-r4 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 openssh +7 7.4p1-16.amzn2.0.6 ALAS2-2019-1216
Amazon Linux 2 pam_ssh_agent_auth 0.10.3-2.16.amzn2.0.6 ALAS2-2019-1216

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 openssh +6 8.0p1-3.el8 ELSA-2019-3702
Oracle Linux 8 pam_ssh_agent_auth 0.10.3-7.3.el8 ELSA-2019-3702

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

GitHub 2 repositories

  • 53n7hu/SNP ★ 4 · May 12, 2020

    CVE-2019-6111 vulnerability exploitation

  • mbadanoiu/MAL-008 ★ 0 · Jul 1, 2024

    Case Study: SSHtranger Things (CVE-2019-6111, CVE-2019-6110) in Cisco SD-WAN

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 29

References