| 标题 | Yash Pokharna StudentManagementSystem 1.0 IDOR + SQL Injection |
|---|
| 描述 | The studentdel.php endpoint lacks any form of authentication or authorisation (no inclusion of session.php and no call to confirm_logged_in()). It directly takes the $_GET['id'] parameter and embeds it into a DELETE SQL query using string concatenation.
Because there is no session validation and no input sanitisation, an unauthenticated attacker can:
Delete a single student record by guessing or enumerating its ID.
Exploit the SQL injection to delete all records from the database (e.g., using id=9999 OR 1=1).
This effectively allows a remote attacker to wipe the entire student data set without any credentials. |
|---|
| 来源 | ⚠️ https://github.com/yashpokharna2555/StudentManagementSystem/issues/5 |
|---|
| 用户 | Xuns (UID 96762) |
|---|
| 提交 | 2026-04-27 10時59分 (1 月前) |
|---|
| 管理 | 2026-05-24 11時12分 (27 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 365455 [yashpokharna2555 StudentManagementSystem 直到 cb2f558ddf8d19396de0f92abf2d224d46a0a203 /studentdel.php confirm_logged_in 标识符 SQL注入] |
|---|
| 积分 | 20 |
|---|