THREATOPS
THREAT OPS › Threat News › Apache Struts2 REST Plugin Fails to Properly Parse Chunked Requests

Apache Struts2 REST Plugin Fails to Properly Parse Chunked Requests

lowfulldisclosurePublished 2026-11-02

<p>Posted by Daniel Owens via Fulldisclosure on Nov 01</p>Description<br /> The Apache Struts2 REST Plugin&apos;s (version 7.4.0 and below) `ContentTypeInterceptor.intercept(ActionInvocation)` only <br /> deserialises a request body and enforces the `struts.rest.content.maxLength` bound when <br /> `HttpServletRequest#getContentLength()` returns a positive value. `getContentLength()` returns `-1`

Original source: https://seclists.org/fulldisclosure/2026/Nov/2