CVE-2011-3923
CRITICAL9.8EPSS 91.1%Struts ParameterInterceptor vulnerability allows remote command execution
發布日:2022/4/22修改日:2024/2/16
描述
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.
受影響套件(1)
- Maven/org.apache.struts:struts2-core>= 2.0.0, < 2.3.1.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2011-3923
- WEBhttp://blog.o0o.nu/2012/01/cve-2011-3923-yet-another-struts2.html
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3923
- WEBhttps://exchange.xforce.ibmcloud.com/vulnerabilities/72585
- WEBhttps://security-tracker.debian.org/tracker/CVE-2011-3923
- WEBhttp://struts.apache.org/development/2.x/docs/s2-009.html
- WEBhttps://web.archive.org/web/20140725074137/http://seclists.org/fulldisclosure/2014/Jul/38