GHSA-2ppp-xj34-vvf7

Suggest an improvement
Source
https://github.com/advisories/GHSA-2ppp-xj34-vvf7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-2ppp-xj34-vvf7/GHSA-2ppp-xj34-vvf7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2ppp-xj34-vvf7
Aliases
  • CVE-2012-0392
Published
2022-05-04T00:29:43Z
Modified
2024-12-05T05:39:21.454119Z
Summary
Apache Struts's CookieInterceptor component does not use the parameter-name whitelist
Details

The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.

Database specific
{
    "nvd_published_at": "2012-01-08T15:55:00Z",
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-27T20:13:27Z"
}
References

Affected packages

Maven / org.apache.struts:struts2-core

Package

Name
org.apache.struts:struts2-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.struts/struts2-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.3.1

Affected versions

2.*

2.0.5
2.0.6
2.0.8
2.0.9
2.0.11
2.0.11.1
2.0.11.2
2.0.12
2.0.14
2.1.2
2.1.6
2.1.8
2.1.8.1
2.2.1
2.2.1.1
2.2.3

Maven / org.apache.struts.xwork:xwork-core

Package

Name
org.apache.struts.xwork:xwork-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.struts.xwork/xwork-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.3.1

Affected versions

2.*

2.2.1
2.2.1.1
2.2.3