9.8
CRITICAL
CVE-2021-23394
Elfinder Remote PHP Code Execution Vulnerability
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.

INFO

Published Date :

June 13, 2021, 11:15 a.m.

Last Modified :

Nov. 9, 2022, 3:32 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-23394 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Std42 elfinder
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-23394.

URL Resource
https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ Exploit Third Party Advisory
https://github.com/Studio-42/elFinder Third Party Advisory
https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1 Patch Third Party Advisory
https://github.com/Studio-42/elFinder/issues/3295 Exploit Issue Tracking Patch Third Party Advisory
https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-23394 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-23394 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 09, 2022

    Action Type Old Value New Value
    Changed Reference Type https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ No Types Assigned https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ Exploit, Third Party Advisory
  • CVE Modified by [email protected]

    Aug. 02, 2022

    Action Type Old Value New Value
    Added Reference https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jun. 22, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/Studio-42/elFinder No Types Assigned https://github.com/Studio-42/elFinder Third Party Advisory
    Changed Reference Type https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1 No Types Assigned https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1 Patch, Third Party Advisory
    Changed Reference Type https://github.com/Studio-42/elFinder/issues/3295 No Types Assigned https://github.com/Studio-42/elFinder/issues/3295 Exploit, Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554 No Types Assigned https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554 Third Party Advisory
    Added CWE NIST CWE-434
    Added CPE Configuration OR *cpe:2.3:a:std42:elfinder:*:*:*:*:*:*:*:* versions up to (excluding) 2.1.58
  • CVE Modified by [email protected]

    Jun. 13, 2021

    Action Type Old Value New Value
    Changed 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. 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 is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-23394 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-23394 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.28 }} 0.66%

score

0.89895

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability