Apache Struts 2.5.x < 2.5.12 Multiple DoS (S2-047) (S2-049)

High Nessus Plugin ID 101548

Synopsis

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

Description

The version of Apache Struts running on the remote host is 2.5.x prior to 2.5.12. It is, therefore, affected by multiple vulnerabilities :

- A denial of service vulnerability exists when handling a specially crafted URL in a form field when the built-in URL validator is used. An unauthenticated, remote attacker can exploit this to cause the server process to overload. Note that this issue only affects version 2.5.x. (CVE-2017-7672)

- A flaw exists in unspecified Spring AOP functionality that is used to secure Struts actions. An authenticated, remote attacker can exploit this to cause a denial of service condition. (CVE-2017-9787)

- A deserialization vulnerability in Apache Commons FileUpload which could be leveraged for remote code execution. (CVE-2016-1000031)

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.12 or later.
Alternatively, apply the workaround referenced in the vendor advisory.

See Also

https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.12

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

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

https://issues.apache.org/jira/browse/WW-4812

https://www.tenable.com/security/research/tra-2016-12

Plugin Details

Severity: High

ID: 101548

File Name: struts_2_5_12.nasl

Version: 1.13

Type: combined

Agent: windows, macosx, unix

Family: Misc.

Published: 2017/07/14

Updated: 2019/02/15

Dependencies: 11936, 122235, 73943, 99671

Configuration: Enable paranoid mode

Risk Information

Risk Factor: High

CVSS Score Source: CVE-2016-1000031

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:struts

Required KB Items: Settings/ParanoidReport

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2017/07/11

Vulnerability Publication Date: 2016/10/25

Reference Information

CVE: CVE-2016-1000031, CVE-2017-7672, CVE-2017-9787

BID: 93604, 99562, 99563

TRA: TRA-2016-12

IAVA: 2018-A-0355