Struts ParameterInterceptor vulnerability allows remote command execution
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.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2011-3923US | critical9.8 | Exploit | ||
Apache Struts before 2.3.1.2 allows remote attackers to bypass security protections in the ParameterInterceptor class and execute arbitrary commands. | ||||
references
External citations — patches, advisories, analysis.
- http://blog.o0o.nu/2012/01/cve-2011-3923-yet-another-struts2.htmlWEB
- http://struts.apache.org/development/2.x/docs/s2-009.htmlWEB
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3923WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72585WEB
- https://nvd.nist.gov/vuln/detail/CVE-2011-3923ADVISORY
- https://security-tracker.debian.org/tracker/CVE-2011-3923WEB
- https://web.archive.org/web/20140725074137/http://seclists.org/fulldisclosure/2014/Jul/38WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan