CVE-2016-3090 Apache Struts RCE Vulnerability
Remote attackers can execute arbitrary code in Apache Struts applications via crafted OGNL expressions in the TextParseUtil method.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-3090?
CVE-2016-3090 is a high-severity code injection vulnerability in Apache Struts, published on 30 Oct 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The TextParseUtil.translateVariables method in Apache Struts 2.x before 2.3.20 allows remote attackers to execute arbitrary code via a crafted OGNL expression with ANTLR tooling.
Weakness: CWE-20
Which versions are affected by CVE-2016-3090?
2 open source packages ship an affected version, including org.apache.struts:struts2-parent. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.struts:struts2-parent Maven | From 2.0.0 | 2.3.20 |
org.apache.struts:struts2-parent Maven | From 2.0.0 | 2.3.20 |
Products include Apache Struts.
How do I fix CVE-2016-3090?
Upgrade org.apache.struts:struts2-parent to 2.3.20 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2016-3090 being exploited?
There is no known exploitation of CVE-2016-3090 in the wild and no public exploit code.
Other vulnerabilities in Apache Struts
Sources
Also known as GHSA-ggmp-fxfg-277r.