Bug 853827 - (CVE-2012-4387) CVE-2012-4387 struts2: Long parameter name DoS
CVE-2012-4387 struts2: Long parameter name DoS
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20120811,repor...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-03 01:11 EDT by David Jorm
Modified: 2014-10-20 20:03 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-09-03 01:16:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Jorm 2012-09-03 01:11:01 EDT
Apache Struts2 treats HTTP request parameters as OGNL expressions. A remote attacker could exploit this by providing extremely long parameter names, which would take a long time to evaluate as OGNL expressions, leading to denial of service by CPU exhaustion. Struts 2.0.0 to Struts 2.3.4 is affected by this flaw. It is resolved in Struts 2.3.4.1 by limiting parameter name length to 100 characters by default. This setting can be configured using the "paramNameMaxLength" parameter in the ParametersInteceptor configuration.

Upstream advisory:
http://struts.apache.org/2.x/docs/s2-011.html
Comment 1 David Jorm 2012-09-03 01:16:56 EDT
Statement:

Not Vulnerable. This issue only affects struts 2, it does not affect the
versions of struts as shipped with various Red Hat products.

Note You need to log in before you can comment on or make changes to this bug.