{"id":"MSF-multi--http--struts_code_exec_parameters","name":"Apache Struts ParametersInterceptor Remote Code Execution","description":"This module exploits a remote command execution vulnerability in Apache Struts versions < 2.3.1.2. This issue is caused because the ParametersInterceptor allows for the use of parentheses which in turn allows it to interpret parameter values as OGNL expressions during certain exception handling for mismatched data types of properties which allows remote attackers to execute arbitrary Java code via a crafted parameter.","cves":["CVE-2011-3923"],"author":"Meder Kydyraliev, Richard Hicks, mihi, Christian Mehlmauer","published":"2011-10-01","platform":"Java,Linux,Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/multi/http/struts_code_exec_parameters.rb","path":"modules/exploits/multi/http/struts_code_exec_parameters.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"struts_code_exec_parameters.rb","vulnerabilities":[{"id":"CVE-2011-3923","state":"PUBLISHED","title":null,"titleSource":null,"description":"Apache Struts before 2.3.1.2 allows remote attackers to bypass security protections in the ParameterInterceptor class and execute arbitrary commands.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-3923","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-3923"},"updatedAt":"2024-08-06T23:53:32.156Z","retrievedAt":"2026-11-26T12:19:36.567Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--http--struts_code_exec_parameters.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--http--struts_code_exec_parameters","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--struts_code_exec_parameters/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--struts_code_exec_parameters/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}