| 标题 | liyupi yu-picture <= 0.0.1-SNAPSHOT SQL Injection |
|---|
| 描述 | yu-picture is an enterprise-level image sharing platform based on Vue 3 + Spring Boot + MyBatis-Plus. Multiple pagination query endpoints (POST /api/picture/list/page/vo, POST /api/space/list/page/vo) are accessible without authentication and accept a user-controlled sortField parameter that is directly concatenated into the SQL ORDER BY clause via MyBatis-Plus orderBy() method without any validation or parameterization. An unauthenticated remote attacker can exploit this time-based blind SQL injection to extract arbitrary data from the database, including user credentials and admin passwords. The vulnerability exists in PictureServiceImpl.java (L336), SpaceServiceImpl.java (L224), and UserServiceImpl.java (L240), all sharing the same vulnerable pattern in the PageRequest base class. |
|---|
| 来源 | ⚠️ https://github.com/liyupi/yu-picture/issues/4 |
|---|
| 用户 | anch0r (UID 96691) |
|---|
| 提交 | 2026-04-07 10時29分 (20 日前) |
|---|
| 管理 | 2026-04-26 03時19分 (19 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 359633 [liyupi yu-picture 直到 a053632c41340152bf75b66b3c543d129123d8ec MyBatis-Plus PictureServiceImpl.java PageRequest sortField SQL注入] |
|---|
| 积分 | 20 |
|---|