| Titel | Mstfakts College-Management-System 82ab01d057d96c8893c419cd9cb6870120faaea3 Session Expiration |
|---|
| Beschreibung | The affected logout handler is `Front-end/server.php:125-129`. When `log_out` is submitted, the code emits a JavaScript redirect but does not call `session_unset()`, `session_destroy()`, `setcookie()`, or any server-side session revocation mechanism:
```php
if (isset($_POST['log_out']))
{
echo "<script type='text/javascript'>alert('Login Success, Welcome);
window.location.href='login.php'; </script>";
}
```
The session started at `Front-end/server.php:2` continues to contain `$_SESSION['email']`. The same `PHPSESSID` remains accepted after logout and `Front-end/profile.php:47-52`, `Front-end/student.php:72-176`, and `Front-end/profileLecturer.php:64-75` continue to use it as an authenticated identity. A copied or retained session token therefore survives a user logout and continues to disclose protected information or perform authenticated actions. |
|---|
| Quelle | ⚠️ https://github.com/Mstfakts/College-Management-System/issues/7 |
|---|
| Benutzer | wemen99 (UID 99985) |
|---|
| Einreichung | 20.07.2026 11:57 (vor 2 Monaten) |
|---|
| Moderieren | 05.09.2026 21:02 (2 months later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 399351 [Mstfakts College-Management-System Logout Front-end/server.php log_out schwache Authentisierung] |
|---|
| Punkte | 20 |
|---|