CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : 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.
Publish Date : 2019-01-10 Last Update Date : 2023-02-23
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
2.6
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity High (Specialized access conditions exist. It is hard to exploit and several special conditions must be satisfied to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Bypass a restriction or similar
CWE ID 863

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2019:3702: openssh security, bug fix, and enhancement update (Moderate) oval:com.redhat.rhsa:def:20193702 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2018-20685

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 18.04 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 18.10 * * * Version Details Vulnerabilities
5 OS Debian Debian Linux 8.0 * * * Version Details Vulnerabilities
6 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
7 Application Netapp Cloud Backup - * * * Version Details Vulnerabilities
8 Application Netapp Element Software - * * * Version Details Vulnerabilities
9 Application Netapp Ontap Select Deploy - * * * Version Details Vulnerabilities
10 Application Netapp Steelstore Cloud Integrated Storage - * * * Version Details Vulnerabilities
11 Application Netapp Storage Automation Store - * * * Version Details Vulnerabilities
12 Application Openbsd Openssh * * * * Version Details Vulnerabilities
13 OS Oracle Solaris 10 * * * Version Details Vulnerabilities
14 OS Redhat Enterprise Linux 7.0 * * * Version Details Vulnerabilities
15 OS Redhat Enterprise Linux 8.0 * * * Version Details Vulnerabilities
16 OS Redhat Enterprise Linux Eus 8.1 * * * Version Details Vulnerabilities
17 OS Redhat Enterprise Linux Eus 8.2 * * * Version Details Vulnerabilities
18 OS Redhat Enterprise Linux Eus 8.4 * * * Version Details Vulnerabilities
19 OS Redhat Enterprise Linux Eus 8.6 * * * Version Details Vulnerabilities
20 OS Redhat Enterprise Linux Server Aus 8.2 * * * Version Details Vulnerabilities
21 OS Redhat Enterprise Linux Server Aus 8.4 * * * Version Details Vulnerabilities
22 OS Redhat Enterprise Linux Server Aus 8.6 * * * Version Details Vulnerabilities
23 OS Redhat Enterprise Linux Server Tus 8.2 * * * Version Details Vulnerabilities
24 OS Redhat Enterprise Linux Server Tus 8.4 * * * Version Details Vulnerabilities
25 OS Redhat Enterprise Linux Server Tus 8.6 * * * Version Details Vulnerabilities
26 Application Winscp Winscp * * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Debian Debian Linux 2
Netapp Cloud Backup 1
Netapp Element Software 1
Netapp Ontap Select Deploy 1
Netapp Steelstore Cloud Integrated Storage 1
Netapp Storage Automation Store 1
Openbsd Openssh 1
Oracle Solaris 1
Redhat Enterprise Linux 2
Redhat Enterprise Linux Eus 4
Redhat Enterprise Linux Server Aus 3
Redhat Enterprise Linux Server Tus 3
Winscp Winscp 1

- References For CVE-2018-20685

https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf CONFIRM
https://access.redhat.com/errata/RHSA-2019:3702
REDHAT RHSA-2019:3702
https://security.gentoo.org/glsa/202007-53
GENTOO GLSA-202007-53
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html
MLIST [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update
https://security.netapp.com/advisory/ntap-20190215-0001/ CONFIRM
https://security.gentoo.org/glsa/201903-16
GENTOO GLSA-201903-16
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h
http://www.securityfocus.com/bid/106531
BID 106531 OpenSSH CVE-2018-20685 Access Bypass Vulnerability Release Date:2019-04-18
https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
https://usn.ubuntu.com/3885-1/
UBUNTU USN-3885-1
https://www.debian.org/security/2019/dsa-4387
DEBIAN DSA-4387
https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2

- Vulnerability Conditions

Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0
Vulnerability is valid if product versions listed below are used 0

- Metasploit Modules Related To CVE-2018-20685

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.