GHSA-J68F-8H6P-9H5Q
Vulnerability from github – Published: 2022-04-22 00:24 – Updated: 2023-08-16 21:41
VLAI?
Summary
Struts ParameterInterceptor vulnerability allows remote command execution
Details
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.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.struts:struts2-core"
},
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.3.1.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2011-3923"
],
"database_specific": {
"cwe_ids": [
"CWE-732",
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2022-11-03T23:46:44Z",
"nvd_published_at": "2019-11-01T14:15:00Z",
"severity": "CRITICAL"
},
"details": "Regular expression in ParametersInterceptor matches `top[\u0027foo\u0027](0)` as a valid expression, which OGNL treats as `(top[\u0027foo\u0027])(0)` and evaluates the value of \u0027foo\u0027 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.",
"id": "GHSA-j68f-8h6p-9h5q",
"modified": "2023-08-16T21:41:30Z",
"published": "2022-04-22T00:24:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-3923"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3923"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/72585"
},
{
"type": "WEB",
"url": "https://security-tracker.debian.org/tracker/CVE-2011-3923"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20140725074137/http://seclists.org/fulldisclosure/2014/Jul/38"
},
{
"type": "WEB",
"url": "http://blog.o0o.nu/2012/01/cve-2011-3923-yet-another-struts2.html"
},
{
"type": "WEB",
"url": "http://struts.apache.org/development/2.x/docs/s2-009.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Struts ParameterInterceptor vulnerability allows remote command execution"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…