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