CVE-2021-20842 EC-CUBE Cross-site request forgery (CSRF) vulnerability
A CSRF vulnerability in EC-CUBE allows attackers to hijack administrator sessions and delete admin accounts via crafted web pages.
- 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-2021-20842?
CVE-2021-20842 is a medium-severity vulnerability in EC-CUBE 2 series, published on 24 Nov 2021. 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
Cross-site request forgery (CSRF) vulnerability in EC-CUBE 2 series 2.11.0 to 2.17.1 allows a remote attacker to hijack the authentication of Administrator and delete Administrator via a specially crafted web page.
Weakness: CWE-352
Which versions are affected by CVE-2021-20842?
2 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 2.11.0 | 2.17.2 |
ec-cube/ec-cube Packagist | From 2.11.0 | 2.17.2 |
Products include Ec-Cube Ec-Cube.
How do I fix CVE-2021-20842?
Upgrade ec-cube/ec-cube to 2.17.2 or later.
Is CVE-2021-20842 being exploited?
There is no known exploitation of CVE-2021-20842 in the wild and no public exploit code.
Other vulnerabilities in EC-CUBE 2 series
Sources
Also known as GHSA-m9hv-qmqh-33qh.