| Título | sayan365 student-management-system 1.0 Unauthenticated Access |
|---|
| Descrição | The `delete_subject.php` script performs a destructive operation (deletion of a subject from the database) but contains **no authentication or authorisation checks**. It does not call `session_start()` or verify any session variables. The file simply includes the database connection and then deletes a subject based on the `id` parameter supplied via the URL:
```php
include 'db.php';
if (isset($_GET['id'])) {
$sql = "DELETE FROM subjects WHERE id = $id";
``` |
|---|
| Fonte | ⚠️ https://github.com/sayan365/student-management-system/issues/6 |
|---|
| Utilizador | FuB0Y (UID 98142) |
|---|
| Submissão | 14/05/2026 09h51 (há 5 meses) |
|---|
| Moderação | 02/06/2026 15h54 (19 days later) |
|---|
| Estado | Duplicado |
|---|
| Entrada VulDB | 367927 [sayan365 student-management-system até 7f3c9ce7d410332335c2affac93a385485051800 Autenticação fraca] |
|---|
| Pontos | 0 |
|---|