Vulnerability record · CVE-2021-23394 · published 13 June 2021
CVE-2021-23394: Std42 elfinder unrestricted file upload vulnerability
Std42 · Elfinder
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.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ | ExploitThird Party Advisory |
| https://github.com/Studio-42/elFinder | Third Party Advisory |
| https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1 | PatchThird Party Advisory |
| https://github.com/Studio-42/elFinder/issues/3295 | ExploitIssue TrackingPatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554 | Third Party Advisory |
| https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ | ExploitThird Party Advisory |
| https://github.com/Studio-42/elFinder | Third Party Advisory |
| https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1 | PatchThird Party Advisory |
| https://github.com/Studio-42/elFinder/issues/3295 | ExploitIssue TrackingPatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554 | Third Party Advisory |
Track CVE-2021-23394 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-23394), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.