| Название | 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) |
|---|
| Представление | 22.07.2026 17:53 (2 месяцы назад) |
|---|
| Модерация | 06.09.2026 13:58 (2 months later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 399406 [sfturing hosp_order до 627f426331da8086ce8fff2017d65b1ddef384f8 Password Recovery CommonUserController.java modifyPassWord слабая аутентификация] |
|---|
| Баллы | 20 |
|---|