Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
Apache Software Foundation Apache Struts
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Nov 3, 2021. US federal agencies must patch by May 3, 2022.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.struts:struts2-core Maven |
|
|
Original description
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.