Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via vectors related to an ! (exclamation mark) operator to the REST Plugin.
Summary
AIApache Struts is vulnerable when Dynamic Method Invocation is enabled. A remote attacker can execute arbitrary code through vectors involving the REST Plugin's exclamation mark operator. The input does not specify whether authentication or user interaction is required.
Who should check
Check Maven org.apache.struts:struts2-core installations at versions >=2.3.19 <2.3.20.3, >=2.3.21 <2.3.24.3, or >=2.3.25 <2.3.28.1.
What to do
- 1Upgrade to fixed version 2.3.20.3, 2.3.24.3, or 2.3.28.1, as appropriate for your version line.