{"id":"MSF-multi--http--struts_include_params","name":"Apache Struts includeParams Remote Code Execution","description":"This module exploits a remote command execution vulnerability in Apache Struts versions < 2.3.14.2. A specifically crafted request parameter can be used to inject arbitrary OGNL code into the stack bypassing Struts and OGNL library protections. When targeting an action which requires interaction through GET, the payload should be split, taking into account the URI limits. In this case, if the rendered JSP has more than one point of injection, it could result in payload corruption. This should happen only when the payload is larger than the URI length.","cves":["CVE-2013-2115","CVE-2013-1966"],"author":"Eric Kobrin, Douglas Rodrigues, Richard Hicks","published":"2013-05-24","platform":"Java,Linux,Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/ab00b9e7e08b1fdc68bdba12de6db2aa4436815e/modules/exploits/multi/http/struts_include_params.rb","path":"modules/exploits/multi/http/struts_include_params.rb","revision":"ab00b9e7e08b1fdc68bdba12de6db2aa4436815e","filename":"struts_include_params.rb","vulnerabilities":[{"id":"CVE-2013-2115","state":"PUBLISHED","title":null,"titleSource":null,"description":"Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag. NOTE: this issue is due to an incomplete fix for CVE-2013-1966.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-2115","cvss":{"version":"3.1","baseScore":8.1,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2013-2115"},"updatedAt":"2024-09-16T19:14:04.038Z","retrievedAt":"2026-11-26T16:13:45.329Z","stale":false,"error":null},{"id":"CVE-2013-1966","state":"PUBLISHED","title":null,"titleSource":null,"description":"Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-1966","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2013-1966"},"updatedAt":"2024-08-06T15:20:37.418Z","retrievedAt":"2026-11-27T04:47:28.835Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--http--struts_include_params.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--http--struts_include_params","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--struts_include_params/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--struts_include_params/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}