CVE-2016-1182 Improper Input Validation in Apache Struts
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.struts:struts-core Maven | All versions to 1.3.10 | None |
org.apache.struts:struts-core Maven | All versions to 1.3.10 | None |
struts:struts Maven | All versions to 1.2.9 | None |
struts:struts Maven | All versions to 1.2.9 | None |
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.
Other vulnerabilities in Apache Struts
Sources
Also known as GHSA-5ggr-mpgw-3mgx.