{"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 an attacker to inject SQL commands by manipulating the Line and Column parameters, leading to potential data manipulation or system compromise.","exploitability":"Exploitation requires control over the Line and Column parameters, which can be achieved through a web interface. The difficulty depends on the attacker's ability to manipulate these parameters.","blast_radius":"If exploited, the attacker could gain full control over the database, leading to data theft, corruption, or denial of service.","remediation":"Disable the affected feature or restrict access to the catalogue_stats.pl endpoint.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","sql-injection","web","database"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-30T09:24:03.995Z"}}