Apache Struts2 Core 跨域保护豁免错误配置... 笔记

Apache Struts2 Core 跨域保护豁免错误配置为部署级路径

由 Daniel Owens 通过 Fulldisclosure 于 11 月 1 日发布 描述 Apache Struts2 Core 版本 7.4.0 及以下中的 FetchMetadataInterceptor、CoepInterceptor 和 CoopInterceptor 均会将其 exemptedPaths 配置——即针对每个拦截器引用、由管理员提供的旨在将特定操作从相应跨域保护中排除的路径集合——与 HttpServletRequest.getContextPath() 进行比较。getContextPath() 在整个部署的 Web 应用中是固定的……