| Título | 37954679 cak-filemanagement-system 5e6433246475e66462e1fea980688de96a049297 SQL Injection |
|---|
| Descrição | The affected component is `admin/save_student.php`. All POST parameters (`date`, `department`, `subject`, `forwarded_to`, `action_taken_by`, `section`) are directly concatenated into an INSERT SQL statement without sanitization or parameterized queries. The endpoint lacks any session or authentication check:
```php
$date = $_POST['date'];
$department = $_POST['department'];
$subject = $_POST['subject'];
$fowarded_to = $_POST['forwarded_to'];
$action_taken_by = $_POST['action_taken_by']."".$_POST['section'];
$password = md5($_POST['password']);
mysqli_query($conn, "INSERT INTO `logs` VALUES('', '$date', '$department', '$subject', '$fowarded_to', '$action_taken_by', '$password')") or die(mysqli_error());
```
An unauthenticated attacker can inject arbitrary SQL through any of the five unprotected parameters to extract database contents, modify records, or disrupt the application. |
|---|
| Fonte | ⚠️ https://github.com/37954679/cak-filemanagement-system/issues/1 |
|---|
| Utilizador | namlau0721 (UID 102075) |
|---|
| Submissão | 12/10/2026 21h39 (há 25 dias) |
|---|
| Moderação | 30/10/2026 13h37 (18 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 429058 [37954679 cak-filemanagement-system até 5e6433246475e66462e1fea980688de96a049297 admin/save_student.php mysqli_query Injeção SQL] |
|---|
| Pontos | 20 |
|---|