| tiêu đề | liyupi yu-picture <= 0.0.1-SNAPSHOT SQL Injection |
|---|
| Mô tả | 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. |
|---|
| Nguồn | ⚠️ https://github.com/liyupi/yu-picture/issues/4 |
|---|
| Người dùng | anch0r (UID 96691) |
|---|
| Đệ trình | 07/04/2026 10:29 (cách đây 6 các tháng) |
|---|
| Kiểm duyệt | 26/04/2026 03:19 (19 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 359633 [liyupi yu-picture đến a053632c41340152bf75b66b3c543d129123d8ec MyBatis-Plus PictureServiceImpl.java PageRequest sortField Tiêm SQL] |
|---|
| điểm | 20 |
|---|