| 标题 | youlaitech youlai-boot v2.21.1 SQL Injection |
|---|
| 描述 | youlai-boot contains a SQL injection vulnerability in the user list sorting functionality. The GET /api/v1/users endpoint accepts user-controlled sorting parameters through UserQuery. Although sortBy is restricted by a whitelist validator, the order parameter is not validated and is concatenated directly into the final SQL statement through MyBatis ${} string interpolation. |
|---|
| 来源 | ⚠️ https://fx4tqqfvdw4.feishu.cn/docx/EBZLdUqt4ogm4Px7jxuck1RQnHe?from=from_copylink |
|---|
| 用户 | xcxr (UID 86629) |
|---|
| 提交 | 2026-04-09 03時14分 (6 月前) |
|---|
| 管理 | 2026-05-02 10時21分 (23 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 360825 [youlaitech youlai-boot 直到 2.21.1 Users Endpoint UserController.java getUserList order SQL注入] |
|---|
| 积分 | 20 |
|---|