{"id":"CVE-2012-0394","aliases":["EUVD-2022-4179","GHSA-hmvj-gc9q-mg9p"],"status":"disputed","title":"Apache Struts's DebuggingInterceptor component allows remote code execution in developer mode","description":"The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors.  NOTE: the vendor characterizes this behavior as not \"a security vulnerability itself.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.729,"percentile":0.99455,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-94"],"published":"2012-01-08T15:00:00Z","modified":"2026-06-16T23:37:12Z","exploits":[{"source":"exploitdb","id":"EDB-18329","title":"Apache Struts 2 \u003c 2.3.1 - Multiple Vulnerabilities","type":"webapps","platform":"multiple","date":"2012-01-06","verified":true,"url":"https://www.exploit-db.com/exploits/18329"},{"source":"exploitdb","id":"EDB-31434","title":"Apache Struts - Developer Mode OGNL Execution (Metasploit)","type":"remote","platform":"java","date":"2014-02-05","verified":true,"url":"https://www.exploit-db.com/exploits/31434"},{"source":"metasploit","id":"exploit/multi/http/struts_dev_mode","title":"Apache Struts 2 Developer Mode OGNL Execution","type":"exploit","platform":"Java","date":"2012-01-06","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/struts_dev_mode"},{"source":"nuclei","id":"CVE-2012-0394","title":"Apache Struts \u003c2.3.1.1 - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2012/CVE-2012-0394.yaml"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.struts.xwork:xwork-core","fixed_in":["2.3.18"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts.xwork:xwork-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.18"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts.xwork:xwork-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.18"}]}],"versions":["2.2.1","2.2.1.1","2.2.3","2.2.3.1","2.3.1","2.3.1.1","2.3.1.2","2.3.12","2.3.14","2.3.14.1","2.3.14.2","2.3.14.3","2.3.15","2.3.15.1","2.3.15.2","2.3.15.3","2.3.16","2.3.16.1","2.3.16.2","2.3.16.3","2.3.3","2.3.4","2.3.4.1","2.3.7","2.3.8"]}],"products":[{"vendor":"apache","product":"struts"}],"references":[{"url":"http://struts.apache.org/2.x/docs/version-notes-2311.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","web"]},{"url":"http://struts.apache.org/2.x/docs/s2-008.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web"]},{"url":"http://www.exploit-db.com/exploits/18329","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Broken Link","web"]},{"url":"http://www.exploit-db.com/exploits/31434","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"http://www.osvdb.org/78276","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0394","tags":["advisory"]},{"url":"https://github.com/apache/struts/commit/34c80dae734e70f13c0e46f9c83602fb71318e58","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/WW-3729","tags":["web"]},{"url":"https://github.com/apache/struts/commit/9cad25f258bb2629d263f828574d2671366c238d","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hmvj-gc9q-mg9p"},{"url":"https://github.com/apache/struts","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2012-0394","description":"The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors.  NOTE: the vendor characterizes this behavior as not \"a security vulnerability itself.","status":"disputed","published":"2012-01-08T15:00:00Z","modified":"2024-08-06T18:23:30.986Z","updated_at":"2026-11-02T14:34:52.981189Z"}],"euvd":[{"id":"EUVD-2022-4179","description":"The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors.  NOTE: the vendor characterizes this behavior as not \"a security vulnerability itself.","status":"published","published":"2012-01-08T15:00:00Z","modified":"2024-08-06T18:23:30Z","updated_at":"2026-11-03T01:56:21.720277Z"}],"ghsa":[{"id":"GHSA-hmvj-gc9q-mg9p","title":"Apache Struts's DebuggingInterceptor component allows remote code execution in developer mode","description":"The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors.  NOTE: the vendor characterizes this behavior as not \"a security vulnerability itself.\"","status":"published","published":"2022-05-04T00:29:43Z","modified":"2024-03-05T19:29:53Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:39.730152Z"}],"nvd":[{"id":"CVE-2012-0394","description":"The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors.  NOTE: the vendor characterizes this behavior as not \"a security vulnerability itself.","status":"disputed","published":"2012-01-08T15:55:01.467Z","modified":"2026-06-16T23:37:12.583Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:02:13.468343Z"}],"osv":[{"id":"GHSA-hmvj-gc9q-mg9p","title":"Apache Struts's DebuggingInterceptor component allows remote code execution in developer mode","description":"The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors.  NOTE: the vendor characterizes this behavior as not \"a security vulnerability itself.\"","status":"published","published":"2022-05-04T00:29:43Z","modified":"2024-12-03T06:05:17.910072Z","cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
