{"id":"MSF-multi--http--struts_dev_mode","name":"Apache Struts 2 Developer Mode OGNL Execution","description":"This module exploits a remote command execution vulnerability in Apache Struts 2. The problem exists on applications running in developer mode, where the DebuggingInterceptor allows evaluation and execution of OGNL expressions, which allows remote attackers to execute arbitrary Java code. This module has been tested successfully on Struts 2.3.16, Tomcat 7 and Ubuntu 10.04.","cves":["CVE-2012-0394"],"author":"Johannes Dahse, Andreas Nusser, Alvaro, juan vazquez","published":"2012-01-06","platform":"Java","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/multi/http/struts_dev_mode.rb","path":"modules/exploits/multi/http/struts_dev_mode.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"struts_dev_mode.rb","vulnerabilities":[{"id":"CVE-2012-0394","state":"PUBLISHED","title":null,"titleSource":null,"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-0394","cvss":{"version":"2.0","baseScore":6.8,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-0394"},"updatedAt":"2024-08-06T18:23:30.986Z","retrievedAt":"2026-11-26T14:55:13.365Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--http--struts_dev_mode.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--http--struts_dev_mode","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--struts_dev_mode/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--struts_dev_mode/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}