Apache Struts 2 'action:' Parameter Prefix Security Constraint Bypass

medium Nessus Plugin ID 70168

Synopsis

The remote web server contains a web application that uses a Java framework that is affected by a security constraint bypass vulnerability.

Description

The remote web application appears to use Struts 2, a web framework used for creating Java web applications. The version of Struts 2 in use is affected by a security constraint bypass vulnerability due to a flaw in the action mapping mechanism. Under certain unspecified conditions, an attacker could exploit this issue to bypass security constraints.

Note that this version of Struts 2 is known to have Dynamic Method Invocation (DMI) enabled by default. This can expose Struts 2 to additional vulnerabilities so it is recommended that DMI be disabled. (CVE-2013-4316)

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

Solution

Upgrade to version 2.3.15.2 or later.

See Also

http://struts.apache.org/docs/s2-018.html

https://cwiki.apache.org/confluence/display/WW/S2-019

Plugin Details

Severity: Medium

ID: 70168

File Name: struts_2_3_15_2.nasl

Version: 1.17

Type: remote

Family: CGI abuses

Published: 9/27/2013

Updated: 5/28/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2013-4316

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

CPE: cpe:/a:apache:struts

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 9/17/2013

Vulnerability Publication Date: 9/17/2013

Reference Information

CVE: CVE-2013-4310, CVE-2013-4316

BID: 62584