提交 #858790: zsadmin ZS-Admin <=1.0.0 SQL Injection信息

标题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)
提交2026-06-15 17時47分 (1 月前)
管理2026-07-21 10時55分 (1 month later)
状态已接受
VulDB条目380828 [zsadmin2025 ZS-Admin 直到 b52e14536d59fda11e56e2536a1c32e82a38cead com.zs.sys.dept.controller.SysDeptController page OrderItem.asc/OrderItem.desc orderField SQL注入]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!