SecurityContext

CVE-2021-43421: Studio-42 elFinder - Unrestricted File Upload

  • Cve: CVE-2021-43421
  • Name: Studio-42 elFinder - Unrestricted File Upload
  • 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.
  • Impact: Attackers can upload malicious files and execute PHP code, leading to remote code execution and full server compromise.
  • Remediation: Update to the latest version of elFinder that addresses this vulnerability or apply security patches.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.41886
  • Epss percentile: 0.98709
  • Assignee: [email protected]
  • Published at: 2022-04-07T17:15:08Z
  • Age in days: 1692
  • Modified at: 2026-06-17T04:10:57Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43421
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Nuclei templates

IdUrl
CVE-2021-43421https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-43421.yaml

Public exploits

UrlSourceAdded date
https://github.com/Studio-42/elFinder/issues/3429nvd2022-04-07

References

UrlSourceTags
https://github.com/Studio-42/elFinder/issues/3429nvdExploit, Issue Tracking, Third Party Advisory
https://twitter.com/infosec_90/status/1455180286354919425nvdThird Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-43421.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
std42:elfinder>= 2.0.4, <= 2.1.59nonvd/v1/products/std42/elfinder

Projects

RepositoryLink kindsIndexedUrl
Studio-42/elFindercommit, issues, packageyes/v1/repositories/Studio-42/elFinder

Index

  • Repositories: 1
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-04-07
  • Remote: yes
  • Exposed hosts: 344
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports

Nuclei template