CVE-2016-1182 Improper Input Validation in Apache Struts

High 8.2 Published Updated

Remote attackers can execute cross-site scripting attacks or cause denial of service via crafted input in Apache Struts 1.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-1182?

CVE-2016-1182 is a high-severity cross-site scripting vulnerability in Apache Struts, published on 4 Jul 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ActionServlet.java in Apache Struts 1 1.x through 1.3.10 does not properly restrict the Validator configuration, which allows remote attackers to conduct cross-site scripting (XSS) attacks or cause a denial of service via crafted input, a related issue to CVE-2015-0899.

Weakness: CWE-20

Which versions are affected by CVE-2016-1182?

4 open source packages ship an affected version, including org.apache.struts:struts-core and struts:struts. It affects 1 product.

PackageAffectedFixed in
org.apache.struts:struts-core MavenAll versions to 1.3.10None
org.apache.struts:struts-core MavenAll versions to 1.3.10None
struts:struts MavenAll versions to 1.2.9None
struts:struts MavenAll versions to 1.2.9None

Products include Apache Struts.

How do I fix CVE-2016-1182?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2016-1182 being exploited?

There is no known exploitation of CVE-2016-1182 in the wild and no public exploit code.

All Apache Struts vulnerabilities

Sources

Also known as GHSA-5ggr-mpgw-3mgx.

Is CVE-2016-1182 in your software?

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

Check your SBOMs for free