| 标题 | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Cross-Site Request Forgery |
|---|
| 描述 | Authenticated profile state changes in `ssm_pro/src/main/java/cn/sfturing/web/CommonUserController.java` and `HospitalController.java` accept cross-origin form posts without a CSRF token, Origin/Referer validation, or framework CSRF middleware. The affected handlers include `/modifiPhone` (lines 182-197), `/addUserInfo` (lines 348-368), `/updateSex` (lines 405-417), and `/favourite` in `HospitalController.java` (lines 175-185). `ssm_pro/src/main/webapp/WEB-INF/web.xml` registers only `CharacterEncodingFilter` at lines 26-42. A malicious site can cause a logged-in victim's browser to submit profile or preference changes; the phone and identity-information handlers also perform their mutations without consuming the email-verification result requested by their GET counterparts. |
|---|
| 来源 | ⚠️ https://github.com/sfturing/hosp_order/issues/122 |
|---|
| 用户 | zbzz (UID 100167) |
|---|
| 提交 | 2026-07-28 18時23分 (2 月前) |
|---|
| 管理 | 2026-09-23 14時48分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 408953 [sfturing hosp_order 直到 627f426331da8086ce8fff2017d65b1ddef384f8 CommonUserController.java 跨网站请求伪造] |
|---|
| 积分 | 20 |
|---|