CVE-2011-3923
Struts ParameterInterceptor vulnerability allows remote command execution
Description
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.
How to fix CVE-2011-3923
To remediate CVE-2011-3923, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.1.2 or later
Is CVE-2011-3923 being exploited?
Likely — EPSS is 91.1%, placing CVE-2011-3923 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (1)
- >= 2.0.0, < 2.3.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |