| 标题 | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Unverified Password Change |
|---|
| 描述 | The affected password-recovery workflow is implemented in `ssm_pro/src/main/java/cn/sfturing/web/CommonUserController.java`. `POST /findPassword` accepts a registered email address and, after the mail thread returns success, stores the target `CommonUser` in the unauthenticated session as `userMSG` (lines 204-246). `POST /checkVerification` only selects a JSP view and never records a verified state (lines 256-295). `POST /updatePassword` then uses `userMSG` to call `modifyPassWord` without validating a verification result, expiration, or one-time token (lines 303-320). A remote attacker can initiate recovery for a known account and directly reset its password, resulting in complete account takeover. |
|---|
| 来源 | ⚠️ https://github.com/sfturing/hosp_order/issues/113 |
|---|
| 用户 | 9ue33 (UID 100041) |
|---|
| 提交 | 2026-07-22 17時53分 (2 月前) |
|---|
| 管理 | 2026-09-06 13時58分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 399406 [sfturing hosp_order 直到 627f426331da8086ce8fff2017d65b1ddef384f8 Password Recovery CommonUserController.java modifyPassWord 弱身份验证] |
|---|
| 积分 | 20 |
|---|