CVE-2018-20685 Missing authorization in n/a
Remote SSH servers can bypass access restrictions to modify target directory permissions on the client side via crafted filenames.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-20685?
CVE-2018-20685 is a medium-severity missing authorization vulnerability in Canonical Ubuntu Linux, published on 10 Jan 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-863
Which versions are affected by CVE-2018-20685?
It affects 22 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fujitsu M10-1 Firmware, Fujitsu M10-4 Firmware, Fujitsu M10-4s Firmware, Fujitsu M12-1 Firmware and 16 more.
How do I fix CVE-2018-20685?
Upgrade to a fixed version.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2018-20685 being exploited?
There is no known exploitation of CVE-2018-20685 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-20685, DEBIAN-CVE-2018-20685, GHSA-28hp-2gv6-gjp8, MGASA-2019-0067, UBUNTU-CVE-2018-20685.