Exploit database

Vulnerability

CVE-2021-23394

Remote Code Execution (RCE)

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · snyk

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

1 source
0xnemian/cve-2021-23394
GH-f359731d8fead5a2694e39bcbf8b56ffGitHubUnofficial GitHub sourcePreferred

Docker container to setup a vulnerable elfinder version on both nginx and apache servers. Can be used to test vulnerability POC

2025-11-30341 files · 0 stars