{"id":"CVE-2013-1965","aliases":["EUVD-2022-5581","GHSA-whmq-v94q-34p9"],"status":"published","title":"Improper Control of Generation of Code in Apache Struts","description":"Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.93527,"percentile":0.99842,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-94"],"published":"2013-07-10T19:00:00Z","modified":"2026-06-16T23:52:29Z","exploits":[{"source":"nuclei","id":"CVE-2013-1965","title":"Apache Struts2 S2-012 RCE","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2013/CVE-2013-1965.yaml"},{"source":"pocgithub","id":"cinno/CVE-2013-1965","title":"cinno/CVE-2013-1965","date":"2015-06-04","url":"https://github.com/cinno/CVE-2013-1965"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.struts:struts2-core","fixed_in":["2.3.14.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.14.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.14.3"}]}],"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","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.3","2.3.4","2.3.4.1","2.3.7","2.3.8"]}],"products":[{"vendor":"apache","product":"struts"},{"vendor":"apache","product":"struts2-showcase"}],"references":[{"url":"http://struts.apache.org/development/2.x/docs/s2-012.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=967655","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"http://www.securityfocus.com/bid/60082","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1965","tags":["advisory"]},{"url":"https://web.archive.org/web/20140227231557/http://www.securityfocus.com/bid/60082","tags":["web"]},{"url":"https://github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56","tags":["web"]},{"url":"https://github.com/advisories/GHSA-whmq-v94q-34p9"},{"url":"https://github.com/apache/struts","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-1965","description":"Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.","status":"published","published":"2013-07-10T19:00:00Z","modified":"2024-08-06T15:20:37.522Z","updated_at":"2026-11-02T14:34:58.534075Z"}],"euvd":[{"id":"EUVD-2022-5581","description":"Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.","status":"published","published":"2013-07-10T19:00:00Z","modified":"2024-08-06T15:20:37Z","updated_at":"2026-11-03T01:56:39.604617Z"}],"ghsa":[{"id":"GHSA-whmq-v94q-34p9","title":"Improper Control of Generation of Code in Apache Struts","description":"Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.","status":"published","published":"2022-05-14T00:54:15Z","modified":"2024-03-05T18:26:28Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:39.730152Z"}],"nvd":[{"id":"CVE-2013-1965","description":"Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.","status":"published","published":"2013-07-10T19:55:04.683Z","modified":"2026-06-16T23:52:29.303Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:02:31.592595Z"}],"osv":[{"id":"GHSA-whmq-v94q-34p9","title":"Improper Control of Generation of Code in Apache Struts","description":"Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.","status":"published","published":"2022-05-14T00:54:15Z","modified":"2024-12-03T06:13:56.786613Z","cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:58.767335Z"}]}}
