{"id":"CVE-2019-6111","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-6111","generatedAt":"2026-11-05T03:18:48.679Z","title":"However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented).","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).","published":"2019-01-31T18:29:01.000Z","lastModified":"2026-10-14T07:16:56.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-22"],"affected":["openbsd/openssh","winscp/winscp","canonical/ubuntu linux","debian/debian linux","redhat/enterprise linux","redhat/enterprise linux eus","redhat/enterprise linux server aus","redhat/enterprise linux server tus","fedoraproject/fedora","apache/mina sshd","freebsd/freebsd","fujitsu/m10-1 firmware","fujitsu/m10-4 firmware","fujitsu/m10-4s firmware","fujitsu/m12-1 firmware","fujitsu/m12-2 firmware","fujitsu/m12-2s firmware","siemens/scalance x204rna firmware","siemens/scalance x204rna eec firmware"],"epss":{"score":0.58204,"percentile":0.99094,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":2,"verified":false,"firstPublished":"2019-01-11","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":46193,"kind":"exploit","title":"SCP Client - Multiple Vulnerabilities (SSHtranger Things)","url":"https://www.exploit-db.com/exploits/46193","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/46193.py","file":"exploits/multiple/remote/46193.py","published":"2019-01-18","added":"2019-01-18","updated":"2019-01-18","author":"Mark E. Haase","type":"remote","platform":"multiple","port":null,"verified":false,"codes":["CVE-2019-6111","CVE-2019-6110"],"tags":null,"aliases":"SSHtranger Things","applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://gist.github.com/mehaase/63e45c17bdbbd59e8e68d02ec58f4ca2"},{"edbId":46516,"kind":"exploit","title":"OpenSSH SCP Client - Write Arbitrary Files","url":"https://www.exploit-db.com/exploits/46516","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/46516.py","file":"exploits/multiple/remote/46516.py","published":"2019-01-11","added":"2019-03-07","updated":"2019-03-07","author":"Harry Sintonen","type":"remote","platform":"multiple","port":null,"verified":false,"codes":["CVE-2019-6111","CVE-2019-6110"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://gist.github.com/mehaase/63e45c17bdbbd59e8e68d02ec58f4ca2"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 58.2%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html","tags":["Broken Link"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2019/04/18/1","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2022/08/02/1","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/106741","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:3702","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677794","tags":["Exploit","Issue Tracking","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E","source":"cve@mitre.org"},{"url":"https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E","source":"cve@mitre.org"},{"url":"https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E","source":"cve@mitre.org"},{"url":"https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E","source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/","source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/201903-16","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20190213-0001/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3885-1/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3885-2/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.debian.org/security/2019/dsa-4387","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/46193/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html","tags":["Broken Link"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2019/04/18/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2022/08/02/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/106741","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:3702","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677794","tags":["Exploit","Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201903-16","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20190213-0001/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3885-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3885-2/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2019/dsa-4387","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/46193/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","source":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-412672.html","source":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-6111","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}