漏洞描述
Daptin 0.12.29 and earlier contains an unauthenticated SQL injection in the sort query parameter of the generic entity list endpoint (GET /api/<entity>). PaginatedFindAllWithoutFilters passes each sort value to goqu.I() without checking that the column exists, and the backtick quote character is not escaped, so a backtick in sort closes the identifier and the rest of the value is parsed as SQL.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。