CVE-2018-20685
MEDIUM severity · CVSS 5.3 · Incorrect authorization
5.3CVSS MEDIUM
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionRequired
Confidentiality impactNone
Integrity impactHigh
Availability impactNone
Exploit probability (EPSS)4%
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf ↗
Additional information
- NVD record
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfPatch
- https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=hPatch
- https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2Patch
- http://www.securityfocus.com/bid/106531
- https://access.redhat.com/errata/RHSA-2019:3702Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00030.htmlAdvisory
- https://security.gentoo.org/glsa/201903-16Advisory
- https://security.gentoo.org/glsa/202007-53Advisory