| Title | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Unverified Password Change |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/sfturing/hosp_order/issues/113 |
|---|
| User | 9ue33 (UID 100041) |
|---|
| Submission | 07/22/2026 17:53 (2 months ago) |
|---|
| Moderation | 09/06/2026 13:58 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 399406 [sfturing hosp_order up to 627f426331da8086ce8fff2017d65b1ddef384f8 Password Recovery CommonUserController.java modifyPassWord unverified password change] |
|---|
| Points | 20 |
|---|