Submit #902240: sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Authorization Bypassinfo

Titlesfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Authorization Bypass
DescriptionThe 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)
Submission07/22/2026 17:54 (2 months ago)
Moderation09/06/2026 13:58 (2 months later)
StatusAccepted
VulDB entry399407 [sfturing hosp_order up to 627f426331da8086ce8fff2017d65b1ddef384f8 Order Controller OrderController.java userIdenf authorization]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!