Exploit database

Vulnerability

CVE-2012-0394

Vulnerability details

Score
6.8
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:N/C:P/I:P/A:P

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.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

3 sources
Apache Struts 2 Developer Mode OGNL Execution
MSF-multi--http--struts_dev_modeMetasploitJava / remote

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.

2012-01-06struts_dev_mode.rb