Description
Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Koha Community | Koha | ≤ 24.11.17, 25.05.00 – ≤ 25.05.12, 25.11.00 – ≤ 25.11.06, 26.05.00 – ≤ 26.05.01 | — |
References
- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363 third-party-advisory
- https://koha-community.org/koha-25-05-12-released/ third-party-advisory
- https://download.koha-community.org/koha-25.05.12.tar.gz third-party-advisory