| 标题 | sayan365 student-management-system 1.0 Unauthenticated Access |
|---|
| 描述 | 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
}
}
``` |
|---|
| 来源 | ⚠️ https://github.com/sayan365/student-management-system/issues/4 |
|---|
| 用户 | caleby (UID 98084) |
|---|
| 提交 | 2026-05-14 09時38分 (5 月前) |
|---|
| 管理 | 2026-06-02 15時54分 (19 days later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 367927 [sayan365 student-management-system 直到 7f3c9ce7d410332335c2affac93a385485051800 弱身份验证] |
|---|
| 积分 | 0 |
|---|