1. Accueil
  2. Vulnérabilités
  3. CVE-2026-105107

CVE-2026-105107

Koha SQL injection in reports/cat_issues_top.pl via the Criteria, Filter and Limit request parameters

Publiée le 14 oct. 2026 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 35/100

Résumé

Koha is vulnerable to SQL injection in the Most-circulated items report. The reports/cat_issues_top.pl script (sub calculate) concatenates the user-controlled Criteria, Filter, and Limit request parameters directly into dynamic SQL. Criteria is only prefix-normalized and never validated against an allow-list, so it is inserted verbatim into identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY, and the main calculation query). Filter values are concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments. Limit is appended raw to a LIMIT clause. An authenticated staff user with the reports module permission (not requiring superlibrarian) can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (userid and bcrypt password hashes, two-factor secrets, personal data), api_keys, and sessions. The issue is fixed in Koha 24.11.19, 25.05.14, 25.11.08, and 26.05.03, and in the 26.11 development branch. This is the unpatched twin of reports/bor_issues_top.pl (CVE-2026-70372).

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Koha-community (5 ligne(s))
Koha-community
ProduitVersionsCorrigé dansSource
Koha avant 24.11.00 (exclu) — CNA (éditeur ou attributeur)
Koha de 24.11.00 (inclus) à 24.11.19 (exclu) — CNA (éditeur ou attributeur)
Koha de 25.05.00 (inclus) à 25.05.14 (exclu) — CNA (éditeur ou attributeur)
Koha de 25.11.00 (inclus) à 25.11.08 (exclu) — CNA (éditeur ou attributeur)
Koha de 26.05.00 (inclus) à 26.05.03 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L (CVSS 3.1, CNA:TuranSec)
Faiblesse
CWE-89 · Injection SQL

Comment sont obtenues et calculées ces données