제출 #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. PM 05:54 (2 개월 ago)
모더레이션2026. 09. 06. PM 01:58 (2 months later)
상태수락
VulDB 항목399409 [sfturing hosp_order 까지 627f426331da8086ce8fff2017d65b1ddef384f8 Order Cancellation OrderController.java orderRecordsService.cancelOrder 아이디 권한 상승]
포인트들20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!