4.3medium
Koha Community Koha - Stored SQL Injection via Patron lang Field in Issue Slip Generation
- Severity
- 4.3medium CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
Description
A stored SQL injection vulnerability in Koha through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 allows authenticated staff with the borrowers => edit_borrowers permission to cause a time-based denial of service by storing a SQL payload in a patron lang field. The value is concatenated raw into a subquery in Koha::AdditionalContents->search_for_display when an issue slip is printed for the affected patron. The 25-character column length limits exploitation to timing attacks; data extraction is not practical. The stored payload executes on each subsequent issue-slip print, scaling linearly with the SLEEP value and the number of slip-news rows.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Koha Community Koha | before 24.11.18, from 25.05.0 before 25.05.13, from 25.11.0 before 25.11.07, from 26.05.0 before 26.05.02 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A stored SQL injection vulnerability in Koha through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 allows authenticated staff with the borrowers => edit_borrowers permission to cause a time-based denial of service by storing a SQL payload in a patron lang field. The value is concatenated raw into a subquery in Koha::AdditionalContents->search_for_display when an issue slip is printed for the affected patron. The 25-character column length limits exploitation to timing attacks; data extraction is not practical. The stored payload executes on each subsequent issue-slip print, scaling linearly with the SLEEP value and the number of slip-news rows.
NVD (es)
Una vulnerabilidad de inyección SQL almacenada en Koha a través de las versiones 24.11.17, 25.05.12, 25.11.06 y 26.05.01 permite al personal autenticado con el permiso borrowers =mayor que edit_borrowers causar una denegación de servicio basada en tiempo al almacenar una carga útil SQL en un campo ’lang’ de usuario. El valor se concatena directamente en una subconsulta en Koha::AdditionalContents -mayor que search_for_display cuando se imprime un recibo de préstamo para el usuario afectado. La longitud de columna de 25 caracteres limita la explotación a ataques de temporización; la extracción de datos no es práctica. La carga útil almacenada se ejecuta en cada impresión posterior del recibo de préstamo, escalando linealmente con el valor SLEEP y el número de filas de ’slip-news’.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72610 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-72610 changed 2026-10-24 | Public domain |