Apache Struts 2.3.5 - 2.3.31 / 2.5.x < Jakarta Multipart Parser RCE (remote)

Critical Nessus Plugin ID 97610


The remote web server contains a web application that uses a Java framework that is affected by a remote code execution vulnerability.


The version of Apache Struts running on the remote host is affected by a remote code execution vulnerability in the Jakarta Multipart parser due to improper handling of the Content-Type header. An unauthenticated, remote attacker can exploit this, via a specially crafted Content-Type header value in the HTTP request, to potentially execute arbitrary code, subject to the privileges of the web server user.


Upgrade to Apache Struts version 2.3.32 / or later.
Alternatively, apply the workaround referenced in the vendor advisory.

See Also





Plugin Details

Severity: Critical

ID: 97610

File Name: struts_2_5_10_1_rce.nasl

Version: $Revision: 1.11 $

Type: remote

Family: CGI abuses

Published: 2017/03/08

Modified: 2017/09/01

Dependencies: 67257, 10107

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.3

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 9.8

Temporal Score: 9

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:F/RL:O/RC:X

Vulnerability Information

CPE: cpe:/a:apache:struts

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 2017/03/06

Vulnerability Publication Date: 2017/03/06

Exploitable With


Core Impact

Metasploit (Apache Struts Jakarta Multipart Parser OGNL Injection)

Reference Information

CVE: CVE-2017-5638

BID: 96729

OSVDB: 153025

CERT: 834067

EDB-ID: 41570, 41614