| शीर्षक | 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) |
|---|
| सबमिशन | 22/07/2026 05:54 PM (2 महीनों पहले) |
|---|
| संयम | 06/09/2026 01:58 PM (2 months later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 399409 [sfturing hosp_order तक 627f426331da8086ce8fff2017d65b1ddef384f8 Order Cancellation OrderController.java orderRecordsService.cancelOrder पहचान अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|