CVE-2012-4387 Denial of service in Apache Struts
Remote attackers can cause denial of service via CPU exhaustion by sending long parameter names processed as OGNL expressions in Apache Struts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-4387?
CVE-2012-4387 is a medium-severity denial of service vulnerability in Apache Struts, published on 5 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache Struts 2.0.0 through 2.3.4 allows remote attackers to cause a denial of service (CPU consumption) via a long parameter name, which is processed as an OGNL expression.
Weakness: CWE-264
Which versions are affected by CVE-2012-4387?
2 open source packages ship an affected version, including org.apache.struts.xwork:xwork-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.struts.xwork:xwork-core Maven | From 2.0.0 | 2.3.4.1 |
org.apache.struts.xwork:xwork-core Maven | From 2.0.0 | 2.3.4.1 |
Products include Apache Struts.
How do I fix CVE-2012-4387?
Upgrade org.apache.struts.xwork:xwork-core to 2.3.4.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2012-4387 being exploited?
There is no known exploitation of CVE-2012-4387 in the wild and no public exploit code.
Other vulnerabilities in Apache Struts
Sources
Also known as GHSA-hrgc-54mv-58gv.