SecLists.Org | Full Disclosure 中文 关注 Apache Struts2 REST 插件无法正确解析分块请求 由 Daniel Owens 通过 Fulldisclosure 于 11 月 1 日发布 描述 Apache Struts2 REST 插件(版本 7.4.0 及以下)的 ContentTypeInterceptor.intercept(ActionInvocation) 仅在 HttpServletRequest#getContentLength() 返回正值时反序列化请求体,并强制实施 struts.rest.content.maxLength 限制。当 Content-Length 标头缺失时,getContentLength() 会返回 -1,这在任何超文本传输协议(HTTP)... Apache Struts2 REST Plugin Fails to Properly Parse Chunked Requests seclists.org SecLists.Org | Full Disclosure 中文 RSS thenote.app
ContentTypeInterceptor.intercept(ActionInvocation)仅在HttpServletRequest#getContentLength()返回正值时反序列化请求体,并强制实施struts.rest.content.maxLength限制。当Content-Length标头缺失时,getContentLength()会返回-1,这在任何超文本传输协议(HTTP)...