Report: Full Disclosure mailing list, 2026-10-29,
https://seclists.org/fulldisclosure/2026/Nov/2
Disposition: OUT-OF-MODEL, functional bug WW-5853; no security property of
the framework is involved (THREAT_MODEL.md section 13)
TLP:CLEAR

In short

This is a real bug in the REST plugin and not a vulnerability. A body sent
with Transfer-Encoding: chunked is never read, so no limit is bypassed and
nothing is allocated; the action simply sees no body fields.

What the report describes

ContentTypeInterceptor reads and binds the request body only when the
request's content length is greater than zero. For a chunked request the
content length is -1, so the body is skipped. The post says the body size
limit therefore does not apply, and that the action runs with unbound
fields. Its own reproduction shows the request being rejected with a
validation error.

What the framework does with that input

- The interceptor gates the whole body-handling branch, including the
bounded reader that enforces struts.rest.content.maxLength, on the content
length being positive (ContentTypeInterceptor). The project confirmed this
from source on both maintained lines; the gate predates the body size limit.
- Nothing is read from a chunked body: no buffer is filled, no deserialiser
runs. The request body stays unread in the container.

Why this is not a vulnerability

The size limit exists to bound what the framework reads (THREAT_MODEL.md
section 8.7). A body that is not read costs nothing to bound. Whether an
action with missing fields does something unsafe is application logic
(section 9); in the plugin's own showcase it fails validation.

What the project is doing

WW-5853 changes the interceptor to read chunked bodies through the same
bounded reader, so the size limit applies to them as well.

What users should do

Nothing is required. Clients that send chunked bodies to a REST plugin
action should send Content-Length until the fix is available.

References

- https://issues.apache.org/jira/browse/WW-5853
- https://struts.apache.org/plugins/rest/ (Request body size limit)
- https://github.com/apache/struts/blob/main/THREAT_MODEL.md (sections 8.7,
9, 13)
- https://github.com/apache/struts/blob/main/SECURITY.md

New evidence goes to [email protected]; questions about this
notice go to this list.

on behalf of the Apache Struts PMC
Ɓukasz

Reply via email to