提交 #902242: sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Unverified Ownership信息

标题sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Unverified Ownership
描述The affected `POST /cancelOrder/{id}` handler in `ssm_pro/src/main/java/cn/sfturing/web/OrderController.java` calls `orderRecordsService.cancelOrder(id)` before it reads the session and contains no authentication or ownership check (lines 122-142). `ssm_pro/src/main/java/cn/sfturing/service/impl/OrderRecordsServiceImpl.java` loads and cancels the record based only on that identifier (lines 50-68), and `ssm_pro/src/main/resources/mapper/OrderRecordsDao.xml` applies the updates with `WHERE id = #{id}` (lines 67-78). An unauthenticated attacker can enumerate or obtain an appointment ID and cancel another patient's appointment, including triggering the application's cancellation-penalty state.
来源⚠️ https://github.com/sfturing/hosp_order/issues/116
用户
 9ue33 (UID 100041)
提交2026-07-22 17時54分 (2 月前)
管理2026-09-06 13時58分 (2 months later)
状态已接受
VulDB条目399409 [sfturing hosp_order 直到 627f426331da8086ce8fff2017d65b1ddef384f8 Order Cancellation OrderController.java orderRecordsService.cancelOrder 标识符 权限提升]
积分20

Interested in the pricing of exploits?

See the underground prices here!