| Title | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Authorization Bypass |
|---|
| Description | The affected `POST /order` handler in `ssm_pro/src/main/java/cn/sfturing/web/OrderController.java` does not accept or validate a session. It resolves the patient exclusively from attacker-controlled `userIdenf` (lines 61-71), inserts an appointment for the returned user ID (lines 72-85), and places the full `CommonUser` object in the response model (lines 86-89). `ssm_pro/src/main/webapp/WEB-INF/jsp/order/orderInfo.jsp` renders the model's name, sex, identity number, mobile number, and email at lines 80-98. An unauthenticated remote attacker who knows a patient identity number can create an appointment as that patient and retrieve the patient's personally identifiable information. |
|---|
| Source | ⚠️ https://github.com/sfturing/hosp_order/issues/114 |
|---|
| User | 9ue33 (UID 100041) |
|---|
| Submission | 07/22/2026 17:54 (2 months ago) |
|---|
| Moderation | 09/06/2026 13:58 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 399407 [sfturing hosp_order up to 627f426331da8086ce8fff2017d65b1ddef384f8 Order Controller OrderController.java userIdenf authorization] |
|---|
| Points | 20 |
|---|