English version →
Webアプリケーション
CVE-2026-71288 high CVSS 8.8

Koha's guided report builder (reports/guided_reports.pl) reads the `order_by` CGI parameter and,...

概要

Koha's guided report builder (reports/guided_reports.pl) reads the order_by CGI parameter and,...

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Koha's guided report builder (reports/guided_reports.pl) reads the order_by CGI parameter and, for each value, a dynamically-named {order}_ovalue parameter, and concatenates both directly into an SQL ORDER BY clause with no allowlist or validation: my @order_by = $input->multi_param('order_by'); foreach my $order (@order_by) { my $value = $input->param($order . "_ovalue"); $query_orderby = " ORDER BY $order $value"; }. The resulting string is appended verbatim to the final query in C4::Reports::Guided ($query .= $orderby;) with no escaping. Since ORDER BY columns cannot be bound via prepared-statement placeholders, this requires an explicit allowlist, which does not exist. Any staff account with the low-privilege create_reports or execute_reports permission (commonly granted to non-admin library staff) can perform time-based blind SQL injection against the Koha database, which stores patron PII and staff/LDAP credentials.

出典: NIST National Vulnerability Database NVD GitHub Advisory

AI要約

外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Kohaのガイド付きレポートビルダーには、SQLインジェクションの脆弱性があります。この問題は、'order_by' CGIパラメータと関連のある{order}_ovalueパラメータを直接SQLクエリに未検証で組み込むために発生します。この攻撃は、低権限のライブラリスタッフによって実行され、Kohaデータベースに保管されている顧客情報やスタッフのLDAP資格情報にアクセスする可能性があります。

❓ 何が問題か

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

📍 影響範囲

reports/guided_reports.plで発生。

🔥 重要度

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

🔧 修正方法

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

🛡️ 暫定回避

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

🔍 検知方法

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

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく