### [CVE-2021-23394](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23394) ![](https://img.shields.io/static/v1?label=Product&message=studio-42%2Felfinder&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=unspecified%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Remote%20Code%20Execution%20(RCE)&color=brightgreen) ### 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. ### POC #### Reference - https://github.com/Studio-42/elFinder - https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1 - https://github.com/Studio-42/elFinder/issues/3295 - https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554 #### Github No PoCs found on GitHub currently.