| 제목 | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Unverified Ownership |
|---|
| 설명 | The affected `POST /orderUserCenter` handler in `ssm_pro/src/main/java/cn/sfturing/web/OrderController.java` trusts client-supplied `userID` and `id`. Before using the session only for presentation, it calls `updateOrderSta1(id)` and `updateOrderdiseaseInfo(diseaseInfo, id)` without authentication or ownership validation (lines 97-115). The mapped statements in `ssm_pro/src/main/resources/mapper/OrderRecordsDao.xml` update records solely by `id` (lines 40-50), while the same controller method obtains appointment records using the supplied `userID` (line 112). An unauthenticated remote attacker can submit or alter an arbitrary appointment, replace its disease information, and receive another user's appointment metadata. |
|---|
| 원천 | ⚠️ https://github.com/sfturing/hosp_order/issues/115 |
|---|
| 사용자 | 9ue33 (UID 100041) |
|---|
| 제출 | 2026. 07. 22. PM 05:54 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 09. 06. PM 01:58 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 399408 [sfturing hosp_order 까지 627f426331da8086ce8fff2017d65b1ddef384f8 Order OrderController.java updateOrderSta1/updateOrderdiseaseInfo userID/id 권한 상승] |
|---|
| 포인트들 | 20 |
|---|