Exploit database

Vulnerability

CVE-2013-1966

Vulnerability details

Score
9.3
Severity
high

CVSS 2.0 · NVD

Vector string

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

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.

CVE Program

Exploit source choices

2 sources
Apache Struts includeParams Remote Code Execution
MSF-multi--http--struts_include_paramsMetasploitJava,Linux,Windows / remote

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.

2013-05-24struts_include_params.rb