| 标题 | ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Cross-Site Request Forgery |
|---|
| 描述 | The affected component is `user/delCourse.php`. It reads the authenticated student from the PHP session at lines 3-4, accepts `cid` from `$_GET['cid']` at line 5, and deletes the pending course selection at line 6. This state-changing operation is reachable through GET and has no CSRF token, Origin or Referer validation, or user confirmation. A malicious site can navigate an authenticated student to the endpoint and remove a pending course without the student's intent. |
|---|
| 来源 | ⚠️ https://github.com/ningzichun/student-management-system/issues/12 |
|---|
| 用户 | jessica.xiao (UID 100215) |
|---|
| 提交 | 2026-07-30 08時13分 (2 月前) |
|---|
| 管理 | 2026-09-24 20時53分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 409750 [ningzichun student-management-system 直到 98760f5711cf6dc8b4adca53a9e207ca49b02ebf 跨网站请求伪造] |
|---|
| 积分 | 20 |
|---|