| 标题 | jaychouchannel Tourism_Management_System 8122bf020d91199eddfff3ee02d1632a70a9a132 Exposure of Sensitive Information Through Data Queries |
|---|
| 描述 | The affected component is `travel/src/main/java/com/controller/CommonController.java` at `/option/{tableName}/{columnName}`. The method is annotated with `@IgnoreAuth` and passes both path values to `CommonDao.xml`, which executes `SELECT distinct ${column} FROM ${table}`. No table or column allowlist is applied. An unauthenticated requester can retrieve values from sensitive columns, such as `GET /option/users/password`, which returned the stored administrator password in local testing. The issue exposes credential material and arbitrary low-cardinality database fields without authentication.
|
|---|
| 来源 | ⚠️ https://github.com/jaychouchannel/Tourism_Management_System/issues/8 |
|---|
| 用户 | MskLov (UID 100118) |
|---|
| 提交 | 2026-07-25 19時56分 (1 月前) |
|---|
| 管理 | 2026-09-06 16時20分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 399444 [jaychouchannel Tourism-Management-System 直到 8122bf020d91199eddfff3ee02d1632a70a9a132 CommonController.java getOption tableName/columnName 信息公开] |
|---|
| 积分 | 20 |
|---|