| Título | liyupi yu-picture <= 0.0.1-SNAPSHOT SQL Injection |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/liyupi/yu-picture/issues/4 |
|---|
| Utilizador | anch0r (UID 96691) |
|---|
| Submissão | 07/04/2026 10h29 (há 20 dias) |
|---|
| Moderação | 26/04/2026 03h19 (19 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 359633 [liyupi yu-picture até a053632c41340152bf75b66b3c543d129123d8ec MyBatis-Plus PictureServiceImpl.java PageRequest sortField Injeção SQL] |
|---|
| Pontos | 20 |
|---|