{"id":"CVE-2012-0393","published":"2012-01-08T15:00:00Z","modified":"2024-09-16T22:24:46Z","title":"The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors…","vendor":null,"product":null,"tier":"tail","description":{"text":"The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors, which allows remote attackers to create or overwrite arbitrary files via a crafted parameter that triggers the creation of a Java object.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.36319,"percentile":0.98478,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.exploit-db.com/exploits/18329","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://struts.apache.org/2.x/docs/version-notes-2311.html","tags":["x_refsource_CONFIRM"]},{"url":"http://struts.apache.org/2.x/docs/s2-008.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/47393","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.7},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2012-01-06"},"first":{"date":"2012-01-06","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/18329"},"provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.struts:struts2-core","vulnerableRanges":["<2.3.1.1"],"patched":["2.3.1.1"],"from":["GHSA-hxqq-w4mr-mc62"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.struts.xwork:xwork-core","vulnerableRanges":["<2.2.3.1"],"patched":["2.2.3.1"],"from":["GHSA-hxqq-w4mr-mc62"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-4247","exploited":false,"provenance":"source"},"exploits":[{"id":18329,"url":"https://www.exploit-db.com/exploits/18329","title":"Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities","date":"2012-01-06","verified":true,"provenance":"source"}],"exploitRefs":["http://www.exploit-db.com/exploits/18329"],"lineage":{"familyId":"fam-org-apache-struts-struts2-core-cve-2012-0393","children":[{"from":"CVE-2012-0393","to":"CVE-2012-4387","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java"],"commits":["https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e","https://github.com/apache/struts/commit/9cad25f258bb2629d263f828574d2671366c238d","https://github.com/apache/struts/commit/80e03182d66d9e6ab18f9a9a9b3c42725a1c89e9","https://github.com/apache/struts/commit/87935af56a27235e9399308ee1fcfb74f8edcefa"],"basis":"shared function","functions":["ParametersInterceptor","setDevMode"]}]},{"from":"CVE-2012-0393","to":"CVE-2014-0094","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/org/apache/struts2/interceptor/CookieInterceptor.java","xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java"],"commits":["https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e","https://github.com/apache/struts/commit/9cad25f258bb2629d263f828574d2671366c238d","https://github.com/apache/struts/commit/2e2da292166adbc78c4cb1e308b30ddb4fba6d3f","https://github.com/apache/struts/commit/6315241719be167542962da436b38782ed730c62"],"basis":"shared function","functions":["CookieInterceptor","ParametersInterceptor","getExcludeParamsSet","intercept"]}]},{"from":"CVE-2012-0393","to":"CVE-2014-0116","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/org/apache/struts2/interceptor/CookieInterceptor.java"],"commits":["https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e","https://github.com/apache/struts/commit/9cad25f258bb2629d263f828574d2671366c238d","https://github.com/apache/struts/commit/1a668af7f1ffccea4a3b46d8d8c1fe1c7331ff02"],"basis":"shared function","functions":["CookieInterceptor","intercept"]}]}],"packageHistory":[{"cve":"CVE-2012-0391","published":"2012-01-08","fixed":"2.2.3.1","kev":true},{"cve":"CVE-2012-0392","published":"2012-01-08","fixed":"2.2.3.1","kev":false,"link":{"from":"CVE-2012-0392","to":"CVE-2012-0393","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.struts:struts2-core","fromFixed":"2.2.3.1","toFixed":"2.3.1.1","daysApart":0}]}},{"cve":"CVE-2012-0838","published":"2012-03-02","fixed":"2.2.3.1","kev":false},{"cve":"CVE-2012-0393","published":"2012-01-08","fixed":"2.3.1.1","kev":false},{"cve":"CVE-2011-3923","published":"2019-11-01","fixed":"2.3.1.2","kev":false},{"cve":"CVE-2012-4386","published":"2012-09-05","fixed":"2.3.4.1","kev":false},{"cve":"CVE-2013-1966","published":"2013-07-10","fixed":"2.3.14.2","kev":false}],"package":"Maven:org.apache.struts:struts2-core"}}