CVE-2021-43421 elFinder Unrestricted File Upload vulnerability
Remote attackers can upload arbitrary files to execute PHP code in elFinder file manager libraries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-43421?
CVE-2021-43421 is a critical vulnerability in n/a, published on 7 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A File Upload vulnerability exists in Studio-42 elFinder 2.0.4 to 2.1.59 via connector.minimal.php, which allows a remote malicious user to upload arbitrary files and execute PHP code.
Weakness: CWE-434
Which versions are affected by CVE-2021-43421?
2 open source packages ship an affected version, including studio-42/elfinder. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
studio-42/elfinder Packagist | From 2.0.4 | 2.1.60 |
studio-42/elfinder Packagist | From 2.0.4 | 2.1.60 |
Products include Std42 Elfinder.
How do I fix CVE-2021-43421?
Upgrade studio-42/elfinder to 2.1.60 or later.
Is CVE-2021-43421 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-43421 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
- CVE-2023-52044 File upload in n/a
- CVE-2024-38909 Studio 42 elFinder vulnerable to Incorrect Access Control
- CVE-2022-27115 RCE in Studio-42 elFinder on Windows before 2.1.61
- CVE-2021-32682 Multiple vulnerabilities leading to RCE
- CVE-2019-9194 elFinder command injection vulnerability in the PHP connector
Sources
Also known as GHSA-x4jx-hjwf-gc99.