| tiêu đề | jaychouchannel Tourism_Management_System 8122bf020d91199eddfff3ee02d1632a70a9a132 SQL Injection |
|---|
| Mô tả | The affected component is `travel/src/main/java/com/controller/CommonController.java`, whose unauthenticated `/cal/{tableName}/{columnName}` and related metadata endpoints forward path variables to `travel/src/main/resources/mapper/CommonDao.xml`. `CommonDao.xml` interpolates the attacker-controlled `table`, `column`, `xColumn`, and `yColumn` values with MyBatis `${...}` expressions, including `SELECT sum(${column}) ... FROM ${table}`. An unauthenticated attacker can inject SQL syntax through `tableName`; for example, `users WHERE SLEEP(5)#` causes the database to evaluate `SLEEP(5)` for user rows. This enables remote database query manipulation and disclosure of application data without a token. |
|---|
| Nguồn | ⚠️ https://github.com/jaychouchannel/Tourism_Management_System/issues/7 |
|---|
| Người dùng | sxisboy (UID 100112) |
|---|
| Đệ trình | 25/07/2026 18:22 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 06/09/2026 15:48 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 399443 [jaychouchannel Tourism-Management-System đến 8122bf020d91199eddfff3ee02d1632a70a9a132 CommonDao CommonController.java table/column/xColumn/yColumn Tiêm SQL] |
|---|
| điểm | 20 |
|---|