CVE-2021-43421 elFinder Unrestricted File Upload vulnerability

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
studio-42/elfinder PackagistFrom 2.0.42.1.60
studio-42/elfinder PackagistFrom 2.0.42.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.

Sources

Also known as GHSA-x4jx-hjwf-gc99.

Is CVE-2021-43421 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free