| Titolo | itsourcecode Online-Bookstore-Project-In-PHP 1.0 SQL Injection |
|---|
| Descrizione | The file upload operation was triggered on line 16 of the "edit_book.php" file, and the uploaded file was received using the "$- FILES" variable. Due to the lack of appropriate input validation and cleaning, remote attackers only need to use regular user login to pass malicious payloads through this file upload function, resulting in unrestricted file uploads, which may further lead to remote code execution (RCE).
In line 16 of the edit_book.php file,The input obtained through $- FILES is directly used to determine the storage location of the file, without conducting a complete security check. The specific code snippet is as follows: |
|---|
| Fonte | ⚠️ https://github.com/1902zdq/cve/issues/1 |
|---|
| Utente | zdq123 (UID 70457) |
|---|
| Sottomissione | 14/06/2024 08:25 (2 anni fa) |
|---|
| Moderazione | 14/06/2024 17:42 (9 hours later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 268698 [itsourcecode Online Book Store fino a 1.0 /edit_book.php image iniezione SQL] |
|---|
| Punti | 20 |
|---|