| 标题 | sayan365 student-management-system 1.0 Unauthenticated Access |
|---|
| 描述 | Both `delete_attendance.php` and `delete_marks.php` perform destructive database operations (deletion of attendance records and marks) without any form of authentication or session validation. The scripts receive the record ID directly via `$_GET['id']` and execute a DELETE query, without calling `session_start()` or checking for a valid login.
Example code pattern (common to both files):
```php
if (isset($_GET['id'])) {
$id = $_GET['id'];
$sql = "DELETE FROM ... WHERE id = $id";
// executes the query
}
``` |
|---|
| 来源 | ⚠️ https://github.com/sayan365/student-management-system/issues/7 |
|---|
| 用户 | Et11an (UID 98151) |
|---|
| 提交 | 2026-05-14 09時54分 (5 月前) |
|---|
| 管理 | 2026-06-02 15時54分 (19 days later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 367927 [sayan365 student-management-system 直到 7f3c9ce7d410332335c2affac93a385485051800 弱身份验证] |
|---|
| 积分 | 0 |
|---|