| Titre | sayan365 student-management-system 1.0 Unauthenticated Access |
|---|
| Description | The `edit_subject.php` script initiates a session with `session_start()` at line 3, but **never verifies** whether the user is actually logged in (e.g., by checking `$_SESSION['username']`). It directly processes the request and displays an edit form based on `$_GET['id']`, and later handles POST requests to update subject data.
Key code snippet:
```php
session_start();
...
if (isset($_GET['id'])) {
// fetches and displays subject data
...
if (isset($_POST['update'])) {
// updates subject record
}
}
``` |
|---|
| La source | ⚠️ https://github.com/sayan365/student-management-system/issues/4 |
|---|
| Utilisateur | caleby (UID 98084) |
|---|
| Soumission | 14/05/2026 09:38 (il y a 5 mois) |
|---|
| Modérer | 02/06/2026 15:54 (19 days later) |
|---|
| Statut | Dupliqué |
|---|
| Entrée VulDB | 367927 [sayan365 student-management-system authentification faible] |
|---|
| Points | 0 |
|---|