Skip to content
NewA calmer, faster ZeroHour

Apache Struts2 Core cross-origin protection exemption miskeyed to deployment-wide path

Original title: Apache Struts2 Core Cross-Origin Protection Exemption Miskeyed to a Deployment-Wide Path

Full Disclosure ()1
Part of a story covered by 4 sourcesMultiple Vulnerabilities in Apache Struts2 Core 7.4.0 and BelowMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Miskeyed exemptedPaths in Struts2 Core interceptors allows bypass of cross-origin protections for entire deployment

Apache Struts2 Core version 7.4.0 and below's FetchMetadataInterceptor, CoepInterceptor, and CoopInterceptor compare exemptedPaths against HttpServletRequest.getContextPath(). getContextPath() is fixed for the entire deployed web application. This results in cross-origin protection being exempted for a deployment-wide path instead of per-reference.

Key facts
  • exemptedPaths compared against getContextPath()
  • Fixed for entire deployed web application
  • Affects versions 7.4.0 and below
  • Intended to exempt specific actions from cross-origin protection
Security assessment · AI, from the article

Impact: bypassing of cross-origin protection for deployment-wide path

Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

Posted by Daniel Owens via Fulldisclosure on Nov 01 Description Apache Struts2 Core version 7. 4. 0 and below's `FetchMetadataInterceptor`, `CoepInterceptor`, and `CoopInterceptor` each compare their `exemptedPaths` configuration -- a per-interceptor-reference, administrator-supplied set of paths intended to exempt specific actions from the corresponding cross-origin protection -- against `HttpServletRequest.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.