Apache Struts <= 2.3.36 FileUpload Deserialization Vulnerability

critical Nessus Plugin ID 118732
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.3.36 or prior. It is, therefore, affected by the following vulnerability:

- 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

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

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

Plugin Details

Severity: Critical

ID: 118732

File Name: struts_2_3_36_fileupload.nasl

Version: 1.8

Type: combined

Agent: windows, macosx, unix

Family: Misc.

Published: 11/5/2018

Updated: 12/11/2020

Dependencies: os_fingerprint.nasl, struts_detect_win.nbin, struts_detect_nix.nbin, struts_config_browser_detect.nbin

Risk Information

CVSS Score Source: CVE-2016-1000031

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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

CVSS v3

Risk Factor: Critical

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

Vulnerability Information

CPE: cpe:/a:apache:struts

Exploit Ease: No known exploits are available

Patch Publication Date: 7/11/2017

Vulnerability Publication Date: 10/25/2016

Reference Information

CVE: CVE-2016-1000031

BID: 93604

TRA: TRA-2016-12

IAVA: 2018-A-0355-S