GitHub Advisoryadvisory · Maven

GHSA-q5q8-jghf-3pm3 Apache Struts2 Broken Access Control Vulnerability

MEDIUM Published 2022-05-17 Modified 2023-08-15 Official page ↗
Aliases
CVE-2013-4310
Ecosystem
Maven
Packages
org.apache.struts:struts2-core
Severity
Moderate
Weaknesses
CWE-284
Reviewed
2022-11-03

Affected packages

• Maven org.apache.struts:struts2-core: < 2.3.15.3 → fixed in 2.3.15.3

Description

The Struts 2 action mapping mechanism supports the special parameter prefix action: which is intended to help with attaching navigational information to buttons within forms, under certain conditions this can be used to bypass security constraints. In Struts 2.3.15.3 the action mapping mechanism was changed to avoid circumventing security constraints. Two additional constants were introduced to steer behaviour of DefaultActionMapper: • struts.mapper.action.prefix.enabled - when set to false support for "action:" prefix is disabled, set to false by default • struts.mapper.action.prefix.crossNamespaces - when set to false, actions defined with "action:" prefix must be in the same namespace as current action

Related

Alias · CVE (1)

  • CVE-2013-4310 Apache Struts 2.0.0 through 2.3.15.1 allows remote attackers to bypass access controls via a crafted action: prefix. vulnerability

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References