| Título | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Unverified Password Change |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/sfturing/hosp_order/issues/113 |
|---|
| Utilizador | 9ue33 (UID 100041) |
|---|
| Submissão | 22/07/2026 17h53 (há 2 meses) |
|---|
| Moderação | 06/09/2026 13h58 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 399406 [sfturing hosp_order até 627f426331da8086ce8fff2017d65b1ddef384f8 Password Recovery CommonUserController.java modifyPassWord Autenticação fraca] |
|---|
| Pontos | 20 |
|---|