| शीर्षक | zsadmin ZS-Admin <=1.0.0 SQL Injection |
|---|
| विवरण | ZS-Admin's common pagination class PageInfo reads the sorting field from the request parameter orderField and passes it to MyBatis-Plus OrderItem.asc() or OrderItem.desc(). The value is only converted by StrUtil.toUnderlineCase() and is not validated against a whitelist of allowed database columns.
When a business endpoint constructs a pagination object with new PageInfo<>(xxxPageQueryParams), an attacker can inject additional SQL expressions through orderField. The expression is appended to the generated ORDER BY clause, resulting in SQL injection. |
|---|
| स्रोत | ⚠️ https://github.com/zsadmin2025/zs-admin-java/issues/4 |
|---|
| उपयोगकर्ता | cl0ney (UID 99026) |
|---|
| सबमिशन | 15/06/2026 05:47 PM (1 महीना पहले) |
|---|
| संयम | 21/07/2026 10:55 AM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 380828 [zsadmin2025 ZS-Admin तक b52e14536d59fda11e56e2536a1c32e82a38cead com.zs.sys.dept.controller.SysDeptController page OrderItem.asc/OrderItem.desc orderField SQL इंजेक्शन] |
|---|
| अंक | 20 |
|---|