Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Koha Community / Koha | affected 0 through 24.11.17; affected 25.05.00 through 25.05.12; affected 25.11.00 through 25.11.06; affected 26.05.00 through 26.05.01 |
CWE
CWE-89
References
- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42368
- https://koha-community.org/koha-25-05-12-released/
- https://download.koha-community.org/koha-25.05.12.tar.gz
ADP enrichment
No English description supplied.
No references supplied.