Soumettre #858790: zsadmin ZS-Admin <=1.0.0 SQL Injectioninformation

Titrezsadmin ZS-Admin <=1.0.0 SQL Injection
DescriptionZS-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.
La source⚠️ https://github.com/zsadmin2025/zs-admin-java/issues/4
Utilisateur
 cl0ney (UID 99026)
Soumission15/06/2026 17:47 (il y a 1 mois)
Modérer21/07/2026 10:55 (1 month later)
StatutAccepté
Entrée VulDB380828 [zsadmin2025 ZS-Admin com.zs.sys.dept.controller.SysDeptController page OrderItem.asc/OrderItem.desc orderField injection SQL]
Points20

Do you know our Splunk app?

Download it now for free!