ghsa-j68f-8h6p-9h5q
Vulnerability from github
Published
2022-04-22 00:24
Modified
2023-08-16 21:41
Severity ?
VLAI Severity ?
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.
{ "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 seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…