GitHub Advisory Database
GHSA-77j2-7whr-6vpx
Elefant CMS Code Execution Vulnerability
Details
An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in apps/filemanager/upload/drop.php by using /filemanager/api/rm/.htaccess to remove the .htaccess file, and then using a filename that ends in .php followed by space characters (for bypassing the blacklist).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | elefant/cms | All versions before 2.0.7 (fixed in 2.0.7) |