CVE-2020-5590 EC-CUBE Directory traversal vulnerability
Authenticated attackers can delete arbitrary files and directories on EC-CUBE servers via directory traversal.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-5590?
CVE-2020-5590 is a high-severity path traversal vulnerability in EC-CUBE, published on 19 Jun 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Directory traversal vulnerability in EC-CUBE 3.0.0 to 3.0.18 and 4.0.0 to 4.0.3 allows remote authenticated attackers to delete arbitrary files and/or directories on the server via unspecified vectors.
Weakness: CWE-22
Which versions are affected by CVE-2020-5590?
4 open source packages ship an affected version, including ec-cube/ec-cube. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ec-cube/ec-cube Packagist | From 3.0.0 to 3.0.18 | None |
ec-cube/ec-cube Packagist | From 3.0.0 to 3.0.18 | None |
ec-cube/ec-cube Packagist | From 4.0.0 | 4.0.4 |
ec-cube/ec-cube Packagist | From 4.0.0 | 4.0.4 |
Products include Ec-Cube Ec-Cube.
How do I fix CVE-2020-5590?
Upgrade ec-cube/ec-cube to 4.0.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-5590 being exploited?
There is no known exploitation of CVE-2020-5590 in the wild and no public exploit code.
Other vulnerabilities in EC-CUBE
Sources
Also known as GHSA-hx79-x87c-hgm3.