{"id":"CVE-2026-70370","published":"2026-08-04T13:18:57.803","lastModified":"2026-08-10T12:17:22.457","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.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-89"],"vendors":[],"products":[],"references":[{"url":"https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363","tags":[]},{"url":"https://download.koha-community.org/koha-25.05.12.tar.gz","tags":[]},{"url":"https://koha-community.org/koha-25-05-12-released/","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The flaw allows for SQL injection by directly interpolating user-controlled parameters into SQL queries without validation, enabling potential database manipulation and data theft.","exploitability":"Exploitation is relatively easy given direct parameter control, requiring only basic knowledge of SQL injection techniques.","blast_radius":"If exploited, it could lead to unauthorized access to sensitive information or system compromise, impacting the entire database environment.","remediation":"Implement input validation and sanitization for user-controlled parameters in SQL queries.","tags":["rce","sql-injection","web","database"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-08-11T06:45:47.327Z"}}