CVE-2026-70369
JSON

8.8high

Koha - SQL Injection in reports/acquisitions_stats.pl

Severity
8.8high CVSS:3.1 by TuranSec
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
TuranSec

Description

Koha's reports/acquisitions_stats.pl builds its per-cell statistics query in sub calculate by interpolating the user-controlled Filter request parameters directly into WHERE fragments covering aqbasket.closedate, aqorders.datereceived, aqbooksellers.name, items.homebranch, items.ccode, biblioitems.itemtype, aqbudgets.budget_code, aqorders.sort1, and aqorders.sort2.

Affected

Product or packageVersionsReported by
Koha Community Kohaup to 24.11.17, from 25.05.00 up to 25.05.12, from 25.11.00 up to 25.11.06, from 26.05.00 up to 26.05.01CVE List

All scores

TuranSec8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Koha's reports/acquisitions_stats.pl builds its per-cell statistics query in sub calculate by interpolating the user-controlled Filter request parameters directly into WHERE fragments covering aqbasket.closedate, aqorders.datereceived, aqbooksellers.name, items.homebranch, items.ccode, biblioitems.itemtype, aqbudgets.budget_code, aqorders.sort1, and aqorders.sort2.

NVD (es)

El script reports/acquisitions_stats.pl de Koha construye su consulta de estadísticas por celda en la subrutina calculate interpolando los parámetros de solicitud de filtro controlados por el usuario directamente en fragmentos WHERE que cubren aqbasket.closedate, aqorders.datereceived, aqbooksellers.name, items.homebranch, items.ccode, biblioitems.itemtype, aqbudgets.budget_code, aqorders.sort1 y aqorders.sort2. La sentencia se prepara y ejecuta sin parámetros vinculados. Un usuario de personal autenticado que posee el permiso del módulo de informes puede inyectar SQL arbitrario y leer cualquier tabla accesible por el usuario de la base de datos de Koha, incluyendo borrowers (hashes de contraseñas, secretos de doble factor, datos personales), borrower_password_recovery, api_keys y sessions.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-70369 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-70369 changed 2026-10-23Public domain