CVE-2018-20685
MEDIUMCVSS 5.3/10EPSS 3.68%
Last modified
CVE-2018-20685 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. EPSS estimates a 3.68% chance of exploitation in the next 30 days.
Description
In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openbsd | Openssh | <= 7.9 |
| Winscp | Winscp | <= 5.13 |
| Netapp | Cloud Backup | All versions |
| Netapp | Element Software | All versions |
| Netapp | Ontap Select Deploy | All versions |
| Netapp | Steelstore Cloud Integrated Storage | All versions |
| Netapp | Storage Automation Store | All versions |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux Eus | 8.1 |
| Redhat | Enterprise Linux Eus | 8.2 |
| Redhat | Enterprise Linux Eus | 8.4 |
| Redhat | Enterprise Linux Eus | 8.6 |
| Redhat | Enterprise Linux Server Aus | 8.2 |
| Redhat | Enterprise Linux Server Aus | 8.4 |
| Redhat | Enterprise Linux Server Aus | 8.6 |
| Redhat | Enterprise Linux Server Tus | 8.2 |
| Redhat | Enterprise Linux Server Tus | 8.4 |
| Redhat | Enterprise Linux Server Tus | 8.6 |
| Oracle | Solaris | 10 |
| Fujitsu | M10-1 Firmware | < xcp2361 |
| Fujitsu | M10-4 Firmware | < xcp2361 |
| Fujitsu | M10-4s Firmware | < xcp2361 |
| Fujitsu | M12-1 Firmware | < xcp2361 |
| Fujitsu | M12-2 Firmware | < xcp2361 |
| Fujitsu | M12-2s Firmware | < xcp2361 |
| Fujitsu | M10-1 Firmware | < xcp3070 |
| Fujitsu | M10-4 Firmware | < xcp3070 |
| Fujitsu | M10-4s Firmware | < xcp3070 |
| Fujitsu | M12-1 Firmware | < xcp3070 |
| Fujitsu | M12-2 Firmware | < xcp3070 |
| Fujitsu | M12-2s Firmware | < xcp3070 |
| Siemens | Scalance X204rna Firmware | < 3.2.7 |
| Siemens | Scalance X204rna Eec Firmware | < 3.2.7 |
References
- http://www.securityfocus.com/bid/106531Broken Link
- https://access.redhat.com/errata/RHSA-2019:3702Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201903-16Third Party Advisory
- https://security.gentoo.org/glsa/202007-53Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190215-0001/Third Party Advisory
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtPatch, Third Party Advisory
- https://usn.ubuntu.com/3885-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4387Third Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlPatch, Third Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlPatch, Third Party Advisory
- http://www.securityfocus.com/bid/106531Broken Link
- https://access.redhat.com/errata/RHSA-2019:3702Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201903-16Third Party Advisory
- https://security.gentoo.org/glsa/202007-53Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190215-0001/Third Party Advisory
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtPatch, Third Party Advisory
- https://usn.ubuntu.com/3885-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4387Third Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlPatch, Third Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-20685?
In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.
How severe is CVE-2018-20685?
CVE-2018-20685 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 3.68% probability of exploitation in the next 30 days.
How do I fix CVE-2018-20685?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-2068Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2018-20680Frog CMS 0.9.5 has XSS in the admin/?/page/edit/1 body field…
- CVE-2018-20681mate-screensaver before 1.20.2 in MATE Desktop Environment a…
- CVE-2018-20682Fork CMS 5.0.6 allows stored XSS via the private/en/settings…
- CVE-2018-20683commands/rsync in Gitolite before 3.6.11, if .gitolite.rc en…
- CVE-2018-20684In WinSCP before 5.14 beta, due to missing validation, the s…
- CVE-2018-20686Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2018-20687An XML external entity (XXE) vulnerability in CommandCenterW…9.8
- CVE-2018-2069Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2018-20698The floragunn Search Guard plugin before 6.x-16 for Kibana a…
- CVE-2018-20699Docker Engine before 18.09 allows attackers to cause a denia…
- CVE-2018-2070Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
Are you affected by CVE-2018-20685?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
