Apache Struts 2 OGNL Expression Handling Double Evaluation Error Remote Command Execution

high Nessus Plugin ID 66931


The remote web server contains a web application that uses a Java framework that is affected by a remote command execution vulnerability.


The remote web application appears to use Struts 2, a web framework that utilizes OGNL (Object-Graph Navigation Language) as an expression language. Due to a flaw in the evaluation of an OGNL expression, a remote, unauthenticated attacker can exploit this issue to execute arbitrary commands on the remote web server by sending a specially crafted HTTP request.

Note that this plugin will only report the first vulnerable instance of a Struts 2 application.


Upgrade to version or later.

See Also



Plugin Details

Severity: High

ID: 66931

File Name: struts_2_3_14_3_command_execution.nasl

Version: 1.16

Type: remote

Family: CGI abuses

Published: 6/19/2013

Updated: 4/11/2022

Configuration: Enable thorough checks

Risk Information


Risk Factor: Medium

Score: 6.7


Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2013-2134


Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:struts

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 5/29/2013

Vulnerability Publication Date: 5/29/2013

Reference Information

CVE: CVE-2013-2134, CVE-2013-2135

BID: 60345, 60346