Skip to content
High 8.8 Web Application

SQL Injection in Koha

CVE-2026-71288 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

図書館システム Koha のガイド付き帳票作成機能(guided_reports.pl)に、SQL インジェクションの脆弱性(CVE-2026-71288)が見つかりました。ORDER BY 句の入力値が検証されずに SQL 文へ組み込まれるため、認証された利用者により不正な SQL が実行されるおそれがあります。深刻度は High(CVSS v3.1 基準値 8.8)です。最新の情報を確認してください。

What is the problem

Kohaのガイド付きレポートビルダーでSQLインジェクションの脆弱性がある。

Affected scope

reports/guided_reports.plで発生。

Severity

任意のSQLクエリ実行により、データベース内の機密情報へアクセス可能。CVSSv3スコアは8.8。

How to fix

order_byと{order}_ovalueパラメータにホワイトリストを導入し、入力値を適切にエスケープする。

Workaround

一時的な対策として、レポート作成権限のあるユーザを制限する。

Detection

データベースへの不審なクエリログを監視し、予期しないアクセスを確認する。

Original description The description as published by the source.

Koha's guided report builder (reports/guided_reports.pl) reads the CGI parameter and, for each value, a dynamically-named parameter, and concatenates both directly into an SQL ORDER BY clause with no allowlist or validation. Since ORDER BY columns cannot be bound via prepared-statement placeholders, this requires an explicit allowlist, which does not exist.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details