| Titre | 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. |
|---|
| La source | ⚠️ https://github.com/sfturing/hosp_order/issues/113 |
|---|
| Utilisateur | 9ue33 (UID 100041) |
|---|
| Soumission | 22/07/2026 17:53 (il y a 2 mois) |
|---|
| Modérer | 06/09/2026 13:58 (2 months later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 399406 [sfturing hosp_order Password Recovery CommonUserController.java modifyPassWord authentification faible] |
|---|
| Points | 20 |
|---|