CVE-2018-20684 Path traversal in n/a
A malicious server can overwrite arbitrary local files due to missing validation in the SCP implementation, affecting WinSCP users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-20684?
CVE-2018-20684 is a high-severity path traversal vulnerability in n/a, published on 10 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In WinSCP before 5.14 beta, due to missing validation, the scp implementation would accept arbitrary files sent by the server, potentially overwriting unrelated files. This affects TSCPFileSystem::SCPSink in core/ScpFileSystem.cpp.
Weakness: CWE-20
Which versions are affected by CVE-2018-20684?
It affects 1 product.
Products include Winscp Winscp.
How do I fix CVE-2018-20684?
No fix has been published for CVE-2018-20684 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-20684 being exploited?
There is no known exploitation of CVE-2018-20684 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-j599-p537-9c5p.