本文へ移動
English version →
高 8.3

Apache Wicketに細工したリクエストで大量のメモリを確保させられる脆弱性

CVE-2026-83594 SecPulse初出

概要

Apache Wicketの FileUploadToResourceField では、クライアントが送る値によって、実際にはアップロードされていないファイルの大きさ分のメモリが確保されます。認証なしで送れるうえ、何度も繰り返せるため、サーバーのヒープが枯渇するおそれがあります。影響を受けるのは9.14.0から9.24.0まで、10.0.0から10.11.0までです。修正版の有無は公表されていないため、最新の情報を確認してください。

AI要約

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

Apache Wicketの FileUploadToResourceField では、クライアントが送る値によって、実際にはアップロードされていないファイルの大きさ分のメモリが確保されます。認証なしで送れるうえ、何度も繰り返せるため、サーバーのヒープが枯渇するおそれがあります。影響を受けるのは9.14.0から9.24.0まで、10.0.0から10.11.0までです。修正版の有無は公表されていないため、最新の情報を確認してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
Apache Software FoundationApache Wicket
9.14.0 〜 9.24.0→ 記載なし
10.0.0 〜 10.11.0→ 記載なし

この記録には修正版の版が載っていません。修正版の有無と版は、本文か参照URLのベンダーの勧告で確かめてください。

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

Memory allocation with an excessive size value in Apache Wicket.

org.apache.wicket.markup.html.form.upload.resource.FileUploadToResourceField uploads files to a separately mounted resource rather than through a form, and is told the outcome afterwards over its own Ajax callback. That callback reads the request parameter filesInfo, a JSON array carrying a client file name, a size and a content type for each file, and turns it into the list of FileUploadToResourceField.UploadInfo that onUploadSuccess() receives. Nothing binds that JSON to an upload the resource performed and nothing re-derives it from the stored files, so the number of entries and every value in them are whatever the request supplied. The callback URL is rendered into the page, no prior upload is required, and both GET and POST reach it, so any client that can load the page can have the component report files that were never uploaded, without authenticating beyond whatever the page itself requires and without any user interaction.

UploadInfo#get(), which the class offers as the way to obtain the bytes of an upload, allocates a byte array from UploadInfo#getSize() before it opens the file. The array is therefore sized by the number the request supplied, and the allocation happens even for a file that was never stored. One small request can cost the server close to two gigabytes of heap, and the request is trivially repeatable, so a few of them exhaust the heap for every request the Java virtual machine is serv…

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

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