Apache Struts 2.0.0 < 2.3.18 RCE (S2-008)

high Nessus Plugin ID 207697

Synopsis

Apache Struts installed on the remote host is affected by remote code execution vulnerability

Description

The version of Apache Struts installed on the remote host is prior to 2.3.18. It is, therefore, affected by a vulnerability as referenced in the S2-008 advisory.

- 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-2012-0394)

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

Solution

Upgrade to Apache Struts version 2.3.18 or later. Alternatively, apply the workaround as referenced in in the vendor's security bulletin

See Also

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

Plugin Details

Severity: High

ID: 207697

File Name: struts_2_3_18.nasl

Version: 1.2

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 9/24/2024

Updated: 9/25/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

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

CVSS Score Source: CVE-2012-0394

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.8

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

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: 1/8/2012

Vulnerability Publication Date: 1/8/2012

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (Apache Struts 2 Developer Mode OGNL Execution)

Elliot (Apache-Struts ExceptionDelegator < 2.3.1.1 RCE Linux)

Reference Information

CVE: CVE-2012-0394