| 标题 | sayan365 student-management-system 1.0 Unauthenticated Access |
|---|
| 描述 | `edit_marks.php` starts a session with `session_start()` at line 3, but fails to verify whether the user is logged in (e.g., by checking `isset($_SESSION['username'])`). It then proceeds to handle requests based on `$_GET['id']` and `$_POST['update']`, allowing any unauthenticated visitor to view and modify student marks.
Key code pattern:
```php
session_start();
...
if (isset($_GET['id'])) {
// displays existing marks data
...
if (isset($_POST['update'])) {
// updates marks record
}
}
``` |
|---|
| 来源 | ⚠️ https://github.com/sayan365/student-management-system/issues/5 |
|---|
| 用户 | FuB0Y (UID 98142) |
|---|
| 提交 | 2026-05-14 09時47分 (5 月前) |
|---|
| 管理 | 2026-06-02 15時54分 (19 days later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 367927 [sayan365 student-management-system 直到 7f3c9ce7d410332335c2affac93a385485051800 弱身份验证] |
|---|
| 积分 | 0 |
|---|