{"id":"GHSA-2ppp-xj34-vvf7","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.","aliases":["CVE-2012-0392"],"modified":"2024-12-05T05:39:21.454119Z","published":"2022-05-04T00:29:43Z","database_specific":{"cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-12-27T20:13:27Z","nvd_published_at":"2012-01-08T15:55:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0392"},{"type":"WEB","url":"https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://lists.immunityinc.com/pipermail/dailydave/2012-January/000011.html"},{"type":"WEB","url":"https://web.archive.org/web/20120612142634/https://sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt"},{"type":"WEB","url":"https://web.archive.org/web/20140723153720/http://secunia.com/advisories/47393"},{"type":"WEB","url":"http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html"},{"type":"WEB","url":"http://struts.apache.org/2.x/docs/s2-008.html"},{"type":"WEB","url":"http://struts.apache.org/2.x/docs/version-notes-2311.html"},{"type":"WEB","url":"http://www.exploit-db.com/exploits/18329"}],"affected":[{"package":{"name":"org.apache.struts:struts2-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3.1"}]}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.14","2.0.5","2.0.6","2.0.8","2.0.9","2.1.2","2.1.6","2.1.8","2.1.8.1","2.2.1","2.2.1.1","2.2.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-2ppp-xj34-vvf7/GHSA-2ppp-xj34-vvf7.json"}},{"package":{"name":"org.apache.struts.xwork:xwork-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts.xwork/xwork-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3.1"}]}],"versions":["2.2.1","2.2.1.1","2.2.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-2ppp-xj34-vvf7/GHSA-2ppp-xj34-vvf7.json"}}],"schema_version":"1.9.0"}