Apache Struts 2.x < 2.3.14.3 Remote Code Execution Vulnerability (S2-012)

critical Nessus Plugin ID 128765

Synopsis

A web application running on the remote host uses a Java framework that is affected by a remote code execution vulnerability.

Description

The version of Apache Struts running on the remote host is 2.x prior to 2.3.14.3. It, therefore, is affected by a remote command execution vulnerability in the ParameterInterceptor class due to improper handling of user-supplied input data. An unauthenticated, remote attacker could exploit this issue, via a crafted parameter name to execute arbitrary OGNL code.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Apache Struts version 2.3.14.3 or later

See Also

http://www.nessus.org/u?a1fcdf60

Plugin Details

Severity: Critical

ID: 128765

File Name: struts_2_3_14_3_s2012.nasl

Version: 1.13

Type: combined

Agent: windows, macosx, unix

Family: Misc.

Published: 9/13/2019

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.7

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

CVSS Score Source: CVE-2013-1965

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

Vulnerability Information

CPE: cpe:/a:apache:struts

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/16/2013

Vulnerability Publication Date: 4/16/2013

Exploitable With

Elliot (Apache-Struts Showcase < 2.3.14.1 RCE Linux)

Reference Information

CVE: CVE-2013-1965

BID: 60082