search menu icon-carat-right cmu-wordmark

CERT Coordination Center


Apache Struts 2 is vulnerable to remote code execution

Vulnerability Note VU#834067

Original Release Date: 2017-03-14 | Last Revised: 2017-03-14

Overview

Apache Struts, versions 2.3.5 - 2.3.31 and 2.5 - 2.5.10, is vulnerable to code injection leading to remote code execution (RCE).

Description

CWE-94: Improper Control of Generation of Code - CVE-2017-5638

An attacker can execute arbitrary OGNL code included in the "Content-Type" header of a file upload.

This vulnerability is actively being exploited.

Impact

An unauthenticated remote attacker can execute arbitrary commands with the privileges of the user running Apache Struts.

Solution

Apply an update
Update to Apache Struts 2.3.32 or 2.5.10.1

If you are unable to update Struts, please see the workaround suggested by Apache here.

Vendor Information

834067
Expand all

Apache Struts

Updated:  March 14, 2017

Status

  Affected

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

Vendor References

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

Addendum

There are no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C
Temporal 8.7 E:H/RL:OF/RC:C
Environmental 8.7 CDP:N/TD:H/CR:ND/IR:ND/AR:ND

References

Credit

This document was written by Trent Novelly.

Other Information

CVE IDs: CVE-2017-5638
Date Public: 2017-03-06
Date First Published: 2017-03-14
Date Last Updated: 2017-03-14 21:02 UTC
Document Revision: 7

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.