8.7high
Authenticated SQL Injection in Koha displayby parameter of suggestion.pl
- Severity
- 8.7high CVSS:4.0 by TuranSec
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
Description
An authenticated SQL Injection vulnerability (CWE-89) exists in the Koha staff interface in the /cgi-bin/koha/suggestion/suggestion.pl endpoint due to improper validation of the displayby parameter used by the GetDistinctValues functionality. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Koha Community Koha | from 24.11.0 up to 24.11.12, from 25.05.0 up to 25.05.07, from 25.11.0 up to 25.11.01 | CVE List |
| koha koha | from 24.11.0 before 24.11.12, from 25.05.0 before 25.05.07, 25.11.00 | NVD |
All scores
| TuranSec | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| TuranSec | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| TuranSec | 9.0critical CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
An authenticated SQL Injection vulnerability (CWE-89) exists in the Koha staff interface in the /cgi-bin/koha/suggestion/suggestion.pl endpoint due to improper validation of the displayby parameter used by the GetDistinctValues functionality. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.
NVD (es)
Existe una vulnerabilidad de inyección SQL autenticada (CWE-89) en la interfaz de personal de Koha, en el endpoint /cgi-bin/koha/suggestion/suggestion.pl, debido a una validación incorrecta del parámetro displayby utilizado por la funcionalidad GetDistinctValues. Un usuario de personal con bajos privilegios puede inyectar consultas SQL arbitrarias a través de solicitudes manipuladas a este parámetro, permitiendo la ejecución de sentencias SQL no intencionadas y la exposición de información sensible de la base de datos. La explotación exitosa puede llevar a un compromiso total de la base de datos de backend, incluyendo la divulgación o modificación de los datos almacenados.
References
| https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41593 | issue-tracking | |
| https://koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/ | not-applicable, vendor-advisory | |
| https://koha-community.org/koha-25-11-01-released/ | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31844 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-31844 changed 2026-08-10 | Public domain |