Red Hat Bugzilla – Bug 997755
CVE-2011-3923 struts2: Remote code execution via OGNL injention in HTTP parameter values
Last modified: 2015-07-31 07:14:01 EDT
Regular expression in ParametersInterceptor matches top['foo'](0) as a valid expression, which OGNL treats as (top['foo'])(0) and evaluates the value of 'foo' action parameter as an OGNL expression. This lets malicious users put arbitrary OGNL statements into any String variable exposed by an action and have it evaluated as an OGNL expression and since OGNL statement is in HTTP parameter value attacker can use blacklisted characters (e.g. #) to disable method execution and execute arbitrary methods, bypassing the ParametersInterceptor and OGNL library protections.
Affects: 2.0.0 - 18.104.22.168
Fixed in: 22.214.171.124
Not Vulnerable. This issue only affects struts 2, it does not affect the versions of struts as shipped with various Red Hat products.