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 - 2.3.1.1 Fixed in: 2.3.1.2 References: [1] http://struts.apache.org/development/2.x/docs/s2-009.html [2] http://blog.o0o.nu/2012/01/cve-2011-3923-yet-another-struts2.html
Statement: Not Vulnerable. This issue only affects struts 2, it does not affect the versions of struts as shipped with various Red Hat products.