A Vulnerability in Apache Struts Could Allow for Remote Code Execution

ITS Advisory Number: 
2018-113
Date(s) Issued: 
Tuesday, November 6, 2018
Subject: 
A Vulnerability in Apache Struts Could Allow for Remote Code Execution
Overview: 

A vulnerability has been discovered in Apache Struts, which could allow for remote code execution. Apache Struts is an open-source, MVC framework for creating Java web applications. Successfully exploiting this vulnerability could allow for remote code execution in the context of the affected application. Depending on the privileges associated with the application, an attacker could install programs; view, change, or delete data; or create new accounts with full user rights. Failed exploitation could result in a denial-of-service condition.

 

THREAT INTELLIGENCE:

There are currently no reports of these vulnerabilities being exploited in the wild.

Systems Affected: 

*           Apache Struts versions 2.3.36 and prior

RISK
GOVERNMENT
Large and medium government entities: 
High
Small government entities: 
High
BUSINESS
Large and medium business entities: 
High
Small business entities: 
High
Home Users: 
Low
Description: 

A vulnerability has been discovered in Apache Struts, which could allow for remote code execution. Specifically, this issue occurs when a Java Object in the Apache Commons FileUpload library is manipulated in such a way that when it is deserialized, it can write or copy files to disk in arbitrary locations.

Successfully exploiting this vulnerability could allow for remote code execution in the context of the affected application. Depending on the privileges associated with the application, an attacker could install programs; view, change, or delete data; or create new accounts with full user rights. Failed exploitation could result in a denial-of-service condition.

Actions: 
  • After appropriate testing, immediately update to the latest version. If unable to upgrade to the latest version, you can download an updated version (1.3.3) of the Apache Commons FileUpload library, and place it inside WEB-INF/lib, replacing the old version. This version can be downloaded from the Apache Download reference below.

  • Verify no unauthorized system modifications have occurred on system before applying patch.

  • Apply the principle of Least Privilege to all systems and services.

  • Remind users not to visit websites or follow links provided by unknown or untrusted sources.