CVE-2016-3090 Apache Struts RCE Vulnerability

High 8.8 Published Updated

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.

PackageAffectedFixed in
org.apache.struts:struts2-parent MavenFrom 2.0.02.3.20
org.apache.struts:struts2-parent MavenFrom 2.0.02.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.

All Apache Struts vulnerabilities

Sources

Also known as GHSA-ggmp-fxfg-277r.

Is CVE-2016-3090 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free