一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-70371 [HIGH] – Koha’s reports/issues_avg_stats.pl builds dynamic SQL in sub calculate by concatenating se

未分类
📑 文章目录

Koha’s reports/issues_avg_stats.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Line and Column parameters are not validated against any whitelist and land verbatim in identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY), and each Filter slot is concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments with no bound parameters.