Daniel Owens가 Fulldisclosure를 통해 2023년 11월 1일에 게시함설명
Apache Struts2 REST Plugin(버전 7.4.0 이하)의 ContentTypeInterceptor.intercept(ActionInvocation)는 HttpServletRequest#getContentLength()가 양수 값을 반환할 때만 요청 본문을 역직렬화하고 struts.rest.content.maxLength를 적용합니다. getContentLength()는 Content-Length 헤더가 없을 때 -1을 반환하며, 이는 모든 Hypertext Transfer Protocol(HTTP)에 대해 정상적이고 적절합니다...
ContentTypeInterceptor.intercept(ActionInvocation)는HttpServletRequest#getContentLength()가 양수 값을 반환할 때만 요청 본문을 역직렬화하고struts.rest.content.maxLength를 적용합니다.getContentLength()는Content-Length헤더가 없을 때-1을 반환하며, 이는 모든 Hypertext Transfer Protocol(HTTP)에 대해 정상적이고 적절합니다...