| Titel | SourceCodester Pizzafy Ecommerce System using PHP and MySQL 1.0 Incomplete Identification of Uploaded File Variables |
|---|
| Beschreibung | The save_menu() function in Pizzafy Ecommerce System 1.0 handles image uploads for menu items without performing any file type validation. The application retrieves the file extension using pathinfo() but never actually checks or restricts the allowed file types before moving the uploaded file to the web-accessible assets/img/ directory. An authenticated administrator can upload a PHP webshell disguised as a menu image, then access it directly via the browser to achieve Remote Code Execution on the server. |
|---|
| Quelle | ⚠️ https://github.com/Xmyronn/Unrestricted-File-Upload-leading-to-Remote-Code-Execution-in-Pizzafy-Ecommerce-System.git |
|---|
| Benutzer | imad alvi (UID 97088) |
|---|
| Einreichung | 13.04.2026 13:14 (vor 2 Monaten) |
|---|
| Moderieren | 29.04.2026 11:40 (16 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 360118 [SourceCodester Pizzafy Ecommerce System 1.0 File Extension admin_class_novo.php save_menu img erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|