Apache Struts XStream Handler REST Plugin XML Request Handling Remote DoS (S2-056)

high Nessus Plugin ID 108760

Synopsis

A web application running on the remote host uses a Java framework that is affected by remote denial of service attack.

Description

The version of Apache Struts running on the remote host is prior to 2.5.16. It, therefore, contains a flaw in the REST plugin when using the XStream handler that is triggered during the handling of a specially crafted request with an XML payload. This may allow a remote attacker to cause a denial of service.

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.5.16 or later or apply the workaround as referenced in the vendor's security bulletin.

See Also

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

https://seclists.org/oss-sec/2018/q1/280

Plugin Details

Severity: High

ID: 108760

File Name: struts_2_5_16.nasl

Version: 1.10

Type: combined

Agent: windows, macosx, unix

Family: Misc.

Published: 3/30/2018

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2018-1327

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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

Patch Publication Date: 3/27/2018

Vulnerability Publication Date: 3/27/2018

Reference Information

CVE: CVE-2018-1327

BID: 103516