Apache Struts 2.0.0 < 6.1.2.1 Denial of Service (S2-063)

medium Nessus Plugin ID 177229

Synopsis

Apache Struts installed on the remote host is affected by Denial of Service vulnerability

Description

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

- WW-4620 added autoGrowCollectionLimit to XWorkListPropertyAccessor, but it only handles setProperty() and not getProperty(). This could lead to OOM if developer has set CreateIfNull to true for the underlying Collection type field. (CVE-2023-34149)

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 6.1.2.1 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-063

Plugin Details

Severity: Medium

ID: 177229

File Name: struts_S2-063.nasl

Version: 1.5

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 6/13/2023

Updated: 9/21/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2023-34149

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

CPE: cpe:/a:apache:struts

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 6/5/2023

Reference Information

CVE: CVE-2023-34149

IAVA: 2023-A-0287-S