| Название | 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) |
|---|
| Представление | 07.04.2026 10:29 (21 дни назад) |
|---|
| Модерация | 26.04.2026 03:19 (19 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 359633 [liyupi yu-picture до a053632c41340152bf75b66b3c543d129123d8ec MyBatis-Plus PictureServiceImpl.java PageRequest sortField SQL-инъекция] |
|---|
| Баллы | 20 |
|---|