CVE-2011-3923 – org.apache.struts:struts2-core
Package
Manager: maven
Name: org.apache.struts:struts2-core
Vulnerable Version: >=2.0.0 <2.3.1.2
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.90651 pctl0.99597
Details
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.
Metadata
Created: 2022-04-22T00:24:08Z
Modified: 2023-08-16T21:41:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-j68f-8h6p-9h5q/GHSA-j68f-8h6p-9h5q.json
CWE IDs: ["CWE-732", "CWE-94"]
Alternative ID: GHSA-j68f-8h6p-9h5q
Finding: F422
Auto approve: 1