| 제목 | sayan365 student-management-system 1.0 Unauthenticated Access |
|---|
| 설명 | The `delete_student.php` script implements a three‑step workflow for deleting student records: (1) initial form display, (2) selecting a student by enrollment ID, and (3) confirming and executing the deletion. However, the file contains **no authentication or authorisation check**. It does not call `session_start()` and never verifies whether the user is logged in.
The critical code structure:
```php
include 'db.php';
if (!isset($_POST['select_enrollment']) && !isset($_POST['delete'])) {
// Step 1: show initial page/form
}
if (isset($_POST['select_enrollment'])) {
// Step 2: fetch and display student details for the given enrollment_id
}
if (isset($_POST['delete'])) {
// Step 3: execute DELETE query for the given enrollment_id
}
``` |
|---|
| 원천 | ⚠️ https://github.com/sayan365/student-management-system/issues/8 |
|---|
| 사용자 | Eden. (UID 98178) |
|---|
| 제출 | 2026. 05. 14. AM 10:00 (5 개월 ago) |
|---|
| 모더레이션 | 2026. 06. 02. PM 03:54 (19 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 367927 [sayan365 student-management-system 까지 7f3c9ce7d410332335c2affac93a385485051800 약한 인증] |
|---|
| 포인트들 | 0 |
|---|