Zafiyet.live Keşfet. Değerlendir. Düzelt. Doğrula.
  • Son 7 gün
  • CWE-770

CVE-2026-84170

Apache Wicket: Standalone dosya yükleme kaynağı yapılandırılmış yükleme sınırlarını uygulamıyor

Apache Software Foundation Apache Wicket

Yüksek 8,3 CVSS 4.0
Yayımlandı
Güncellendi
2 Kas 2026
Açık yaşı
0 gün
Kaydı açan
apache

Yönetici özeti

Bu açık, uygulamanın kendi koyduğu dosya yükleme sınırlarının devre dışı kalmasına yol açıyor ve kimlik doğrulaması olmayan saldırganların sunucu kaynaklarını tüketmesine izin verebiliyor. Etkilenen bir uygulamanız varsa hizmetin kesintiye uğrama riski yüksektir ve öncelikli olarak güncelleme yapılmalıdır.

ÖzetTürkçe

Apache Wicket'ın FileUploadToResourceField ile kullanılan bağımsız dosya yükleme kaynağı (AbstractFileUploadResource), toplam istek boyutu, tek parça boyutu ve parça sayısı sınırlarını istemciden gelen maxSize, fileMaxSize ve fileCountMax parametrelerinden alıyor. Uygulamanın kendi belirlediği sınırlar yalnızca istemci ilgili parametreyi göndermediğinde devreye giriyor. Etkilenen sürümler 9.14.0–9.24.0 ve 10.0.0–10.9.1 arasındaki Wicket sürümleri olup yalnızca bu yükleme alanını veya kaynağı kullanan uygulamalar risk altındadır.

Saldırgan ne yapabilir?

Kimlik doğrulaması gerektirmeyen bir saldırgan, tekrarlanabilir istekler göndererek sunucunun geçici disk alanını ve bellek kullanımını tüketebilir; hizmet aksaması (DoS) ortaya çıkabilir.

Kaynaktaki açıklama (İngilizce)

Allocation of resources without limits or throttling in Apache Wicket.

org.apache.wicket.markup.html.form.upload.resource.AbstractFileUploadResource is the server side of the form-less upload offered by FileUploadToResourceField, which posts the selected files to a separately mounted resource rather than through a Form. The resource is an application-wide singleton with no component to consult, so newResourceResponse() takes the three limits that bound the upload - the total request size, the maximum size of a single part and the maximum number of parts - from the request parameters maxSize, fileMaxSize and fileCountMax, and hands them to the multipart parser as they arrive. Nothing binds those numbers to the field that is supposed to be uploading. A request naming a very large maxSize is therefore parsed with no effective ceiling on the total size, and omitting fileMaxSize and fileCountMax leaves the per-part and part-count limits unset as well. The values the application configured through FileUploadToResourceField#setMaxSize(), #setFileMaxSize() and #setFileCountMax() are consulted only when the client omits the corresponding parameter, so against a client that supplies one they have no effect at all.

Parts above the parser's in-memory threshold are spooled to the container's temporary directory, and the file parts are then copied into the folder the application's IUploadsFileManager owns, under a sub-folder the request names, where they remain. A part that is not a file is read into the heap in full while the request is parsed. One request, repeatable, can therefore consume as much disk or as much heap as the client chooses to send. The resource carries no authorization annotation and the default authorization strategy permits every resource request, so unless the application authorizes the resource itself the request needs no authentication, no session, no prior page view and no user interaction.

An application is affected where it uses FileUploadToResourceField, or mounts FileUploadResourceReference itself. This is not the ordinary upload path: the resource is a singleton that has to be created and mounted deliberately. An application that configures no upload limit at all loses nothing, because Wicket applies no total-size limit of its own by default; what the defect removes is a limit the application set. Uploads through Form with FileUploadField, and through AjaxFileDropBehavior, are not affected, because both read their limits from the component rather than from the request. The upload resource does not exist in the 8.x line.

This issue affects Apache Wicket: from 9.14.0 through 9.24.0, from 10.0.0 through 10.9.1. Users are recommended to upgrade to version 9.25.0 or 10.12.0, which fix the issue.

Ne yapmalı?

  1. Apache Wicket'ı 9.x dalında 9.25.0 veya 10.x dalında 10.12.0 sürümüne yükseltin. Genel öneri
  2. Yükleme kaynağını kendiniz bağlıyorsanız veya FileUploadToResourceField kullanıyorsanız, kaynağın kimlik doğrulaması gerektirecek şekilde yetkilendirildiğinden emin olun. Genel öneri
  3. Yükleme dizinindeki ve geçici dizindeki disk kullanımını izleyin ve olağandışı büyüme olursa yükleme isteklerini geçici olarak kısıtlayın. Genel öneri

Ek önlemler

  • Yükleme uç noktalarına istek boyutu ve sıklığı için ters vekil (reverse proxy) veya web sunucusu düzeyinde ek sınırlar koyun. Genel öneri
  • Yükleme dizinlerine ve geçici dizinlere yeterli disk kotası tanımlayın ve bu dizinlerin dolmasını uyarı ile izleyin. Genel öneri

Etkilenen sürümler1 yazılım

YazılımEtkilenenDüzeltildiği sürüm
Apache Software Foundation Apache Wicket ≥ 9.14.0, ≤ 9.24.0 –
≥ 10.0.0, ≤ 10.9.1 –

Kaynaklar3 kaynak

Kayıt geçmişi

  1. Yayımlandı

İlgili açıklar

Türkçe metin, resmi kayıtlardaki bilgilerle yapay zekâ yardımıyla yazıldı ve yayından önce otomatik kontrollerden geçti. Bir değişikliği uygulamadan önce üreticinin duyurusuna mutlaka bakın.