CyberRota Analysis
AI-GeneratedLaravel-Mediable versions prior to 7.0.0 are vulnerable to a file upload flaw that allows unauthenticated attackers to execute remote code by uploading files with a double extension, such as shell.php.jpg. This vulnerability can lead to the execution of malicious PHP code on misconfigured Apache or Nginx servers, where the inner .php extension is preserved and executed. Organizations using affected versions of Laravel-Mediable should prioritize patching to mitigate the risk of remote code execution.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Laravel-Mediable before 7.0.0 contains a file upload vulnerability that allows unauthenticated attackers to achieve remote code execution by uploading a file with an embedded PHP extension disguised within a double extension such as shell.php.jpg. The PATHINFO_FILENAME extraction preserves the inner .php extension in the base name, and on misconfigured Apache or nginx servers that execute any filename containing .php as PHP, the stored file is interpreted as executable code while all MIME type, extension, and aggregate type validation checks pass due to the outer .jpg extension.