CyberRota Analysis
AI-GeneratedThe vulnerability affects the Backpack CRUD package for Laravel, specifically in versions 6.0.0 to 6.8.14 and 7.0.38, where the methods for file uploads do not adequately validate file types, allowing authenticated administrators to upload potentially malicious server-executable files. If the public disk is accessible and the server is misconfigured, this could lead to remote code execution. Organizations using affected versions, particularly those with web-accessible storage, should prioritize updating to versions 6.8.14 or 7.0.38 to mitigate this risk.
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
backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. From 6.0.0 until 6.8.14 and 7.0.38, HasUploadFields methods uploadFileToDisk and uploadMultipleFilesToDisk, used through CrudTrait, and the withFiles() path through FileNameGenerator do not internally reject server-executable file types. An authenticated administrator can achieve remote code execution by using an upload-enabled CRUD field without mimes: and mimetypes: validation when the public disk is web-accessible through php artisan storage:link and the web-server and PHP-FPM configuration executes the stored extension. The legacy path preserves an accepted extension and the newer path derives an extension without blocking dangerous types. The package-level restriction is defense in depth and does not replace application-level upload validation. This issue is fixed in versions 6.8.14 and 7.0.38.