CVE-2021-23394

CRITICAL
Published Jun 13, 20215y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Jun 13, 2021 5y ago
Last Modified Jun 17, 2026 2w ago

Description

The package studio-42/elfinder before 2.1.58 are vulnerable to Remote Code Execution (RCE) via execution of PHP code in a .phar file. NOTE: This only applies if the server parses .phar files as PHP.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-434 Unrestricted Upload of File with Dangerous Type Resource Mgmt

Affected Products 1

VendorProductVersionRange
std42elfinder* <2.1.58

References 5

  • blog.sonarsource.com https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/
    ExploitThird Party Advisory
  • github.com https://github.com/Studio-42/elFinder
    Third Party Advisory
  • github.com https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1
    PatchThird Party Advisory
  • github.com https://github.com/Studio-42/elFinder/issues/3295
    ExploitIssue TrackingPatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554
    Third Party Advisory

Remediation

  • github.com https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1
    PatchThird Party Advisory
  • github.com https://github.com/Studio-42/elFinder/issues/3295
    ExploitIssue TrackingPatchThird Party Advisory