| 标题 | **Vendor:** jaychouchannel Tourism_Management_System 8122bf020d91199eddfff3ee02d1632a70a9a132 Incorrect Privilege Assignment |
|---|
| 描述 | The affected endpoint is `travel/src/main/java/com/controller/UsersController.java` at `POST /users/register`. It is annotated with `@IgnoreAuth` and inserts a caller-controlled `UsersEntity` directly into the administrative `users` table. The schema in `travel.sql` assigns `users.role` a default value of `管理员` (administrator), while the controller neither blocks public registration nor assigns a least-privileged role. An unauthenticated attacker can register credentials and immediately obtain a token for an administrator account. |
|---|
| 来源 | ⚠️ https://github.com/jaychouchannel/Tourism-Management-System/issues/10 |
|---|
| 用户 | Chenshiyi (UID 100261) |
|---|
| 提交 | 2026-07-31 19時12分 (1 月前) |
|---|
| 管理 | 2026-09-12 12時55分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403113 [jaychouchannel Tourism-Management-System 直到 229956e20dbd4a80eeff14535e44d3099502af09 User Register Endpoint UsersController.java UsersEntity 权限提升] |
|---|
| 积分 | 20 |
|---|