🔍 CVE-2026-71257

7.5
CVSS Score
HIGH
2026-08-31
2026-09-01 19:17
✅ 완료

🇰🇷 한글 설명

Apache Wicket에서 multipart 요청 처리 시, 다른 컴포넌트가 이미 요청 본문을 소비한 경우 파일 크기 및 개수 제한이 적용되지 않는 취약점이 발견되었습니다. 이로 인해 공격자는 설정된 개별 파일 크기나 파일 개수 제한을 우회하여 허용된 것보다 더 크거나 많은 파일을 업로드할 수 있습니다. 다만, 전체 업로드 크기 제한(setMaxSize)은 여전히 유효합니다.

💡 쉬운 설명

파일 업로드 시 정해진 규칙(파일 한 개당 크기나 파일 개수 제한)을 무시하고 몰래 더 많은 파일을 올릴 수 있는 보안 구멍이 있습니다. 다른 프로그램이 먼저 파일을 건드리면 Wicket의 보안 검사가 제대로 작동하지 않기 때문에 발생합니다.

🇺🇸 원문 (English)

Apache Wicket enforces the upload limits configured on a form or upload field while parsing a multipart request with Apache Commons FileUpload. If the request body has already been consumed by another component, Commons FileUpload returns no items and Wicket falls back to reading the upload through HttpServletRequest#getParts(). The per-file size limit (for example Form#setFileMaxSize) and the file count limit (Form#setFileCountMax) are not applied to the parts obtained that way, and no exception is raised, so the upload is processed as though those limits had been satisfied. A remote uploader can therefore submit files that are larger, or more numerous, than the application permits, up to whatever the component that parsed the request allows. A part carrying no Content-Type header is additionally read into memory in full during parsing, so the size of that allocation is determined by the request and bounded only by those same external limits. The total upload size limit (Form#setMaxSize) is not affected. Commons FileUpload compares the declared Content-Length against it before reading the body, so a request declaring an oversized length is rejected before the fallback is reached. The fallback is reached in deployments where a servlet or filter has already parsed the request body — for example a servlet annotated with @MultipartConfig, Spring Boot's multipart resolver, or any filter that calls HttpServletRequest#getParameter() on a multipart request. It applies to the Wicket components that accept uploads on that path, including Form with FileUploadField, FileUploadToResourceField and AjaxFileDropBehavior. Applications that configure neither a per-file nor a file-count limit are not affected, as Wicket applies neither by default. This issue affects Apache Wicket: from 8.0.0 through 8.18.0, from 9.0.0 through 9.23.0, from 10.0.0 through 10.10.0. Users are recommended to upgrade to version 8.19.0, 9.24.0 or 10.11.0, which fix the issue. Users of Apache Wicket 7.x or older, which are no longer supported, should upgrade to a supported version. As a workaround, configure equivalent limits in the component that parses the request — for example spring.servlet.multipart.max-file-size and max-request-size, or maxFileSize and maxRequestSize in @MultipartConfig or in the web.xml <multipart-config> element.

📍 영향받는 시스템

Apache Wicket 8.0.0-8.18.0, 9.0.0-9.23.0, 10.0.0-10.10.0

⚔️ 공격 벡터

이미 multipart 요청을 파싱한 서블릿이나 필터가 존재하는 환경에서 제한을 초과하는 파일 크기 또는 개수를 포함한 요청을 전송

🛡️ 대응 방법

Apache Wicket을 8.19.0, 9.24.0 또는 10.11.0 이상 버전으로 업그레이드하거나, Spring Boot/Servlet 설정에서 파일 크기 제한을 별도로 구성

🔧 검증 코드

출력된 버전이 취약 버전 범위(8.18.0 이하, 9.23.0 이하, 10.10.0 이하)에 해당하면 취약한 상태입니다.

Shell / Script
mvn dependency:list | grep -E 'wicket-core-(8\.[0-9]+|9\.[0-9]+|10\.[0-9]+)'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Spring Framework