Vulnerabilities

Vulnerability · CVE-2021-23394

std42 elfinder Unrestricted Upload of File with Dangerous Type

Published Sep 19, 2024 · catalog updated Sep 19, 2024 · std42 elfinder Unrestricted Upload

Patch now

CVE-2021-23394 is in the CISA known-exploited catalog. Confirm std42 elfinder Unrestricted Upload against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (std42 elfinder Unrestricted Upload).
  • No version range is stored. A customer cannot check an installed version against this record.
Severity
Unknown—
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
18.93%
Remediation
Remediation guidance
Affected products
vendor 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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor std42 elfinderversion unspecified

How to fix CVE-2021-23394

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2021-23394 is in the CISA known-exploited catalog. Confirm std42 elfinder Unrestricted Upload against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Affected version ranges are not on this record. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

No weakness class is stored. EPSS 18.93%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Sep 19, 2024 · VulnCheck KEV

    Detected

    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.

  2. Sep 19, 2024 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Sources

  • CVE.orgVulnerability recordCVE-2021-23394

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2021-23394

    30-day exploitation probability 18.9%

    first.org
  • VulnCheck KEVConfirmed exploitationCVE-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.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.