CVE-2021-23394
CRITICALCVSS 9.8/10EPSS 19.08%
Last modified
CVE-2021-23394 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 19.08% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Std42 | Elfinder | < 2.1.58 |
References
- https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/Exploit, Third Party Advisory
- https://github.com/Studio-42/elFinderThird Party Advisory
- https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1Patch, Third Party Advisory
- https://github.com/Studio-42/elFinder/issues/3295Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554Third Party Advisory
- https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/Exploit, Third Party Advisory
- https://github.com/Studio-42/elFinderThird Party Advisory
- https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1Patch, Third Party Advisory
- https://github.com/Studio-42/elFinder/issues/3295Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23394?
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.
How severe is CVE-2021-23394?
CVE-2021-23394 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 19.08% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23394?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23389The package total.js before 3.4.9 are vulnerable to Arbitrar…9.8
- CVE-2021-2339Vulnerability in the MySQL Server product of Oracle MySQL (c…4.9
- CVE-2021-23390The package total4 before 0.0.43 are vulnerable to Arbitrary…9.8
- CVE-2021-23391This affects all versions of package calipso. It is possible…7.1
- CVE-2021-23392The package locutus before 2.0.15 are vulnerable to Regular …7.5
- CVE-2021-23393This affects the package Flask-Unchained before 0.9.0. When …5.4
- CVE-2021-23395This affects all versions of package nedb. The library could…5.3
- CVE-2021-23396All versions of package lutils are vulnerable to Prototype P…9.8
- CVE-2021-23397All versions of package @ianwalter/merge are vulnerable to P…9.8
- CVE-2021-23398All versions of package react-bootstrap-table are vulnerable…6.1
- CVE-2021-23399This affects all versions of package wincred. If attacker-co…9.8
- CVE-2021-2340Vulnerability in the MySQL Server product of Oracle MySQL (c…2.7
Are you affected by CVE-2021-23394?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
