Arbitrary file upload in Std42 Elfinder

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.

Vulnerability class: Unrestricted File Upload

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.189 (97.2th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-23394: held from 0.191 to 0.189.

EPSS over last 30 days · oldest: 0.191 · newest: 0.189 · change: -0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-23394?
CVE-2021-23394 is a high-severity vulnerability in Std42 Elfinder, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.1/10. Published 2021-06-13.
How severe is CVE-2021-23394?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2021-23394 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.