Apache Struts security update fixes critical vulnerabilities

The vulnerabilities can allow attackers to execute rogue code on the server or redirect users to arbitrary locations

The Apache Software Foundation has released Struts 2.3.15.1, a security update for its popular Java Web application development framework that addresses two vulnerabilities, including a critical one that could allow remote attackers to execute arbitrary code on the server.

Struts version 2.3.15.1 has become the "General Availability" release, the designation for the project's highest quality version available to users.

The new release addresses two vulnerabilities that stem from issues in the implementation of the DefaultActionMapper class and its "action:", "redirect:" and "redirectAction:" prefixes in particular.

"In Struts 2 before 2.3.15.1 the information following 'action:', 'redirect:' or 'redirectAction:' is not properly sanitized," the Apache Struts developers said in an advisory. "Since said information will be evaluated as OGNL [Object Graph Navigation Language] expression against the value stack, this introduces the possibility to inject server side code."

Attackers can also manipulate the information following "redirect:" or "redirectAction:" in order to redirect users to an arbitrary location.

In order to fix these two vulnerabilities, the Apache Struts developers have added code that sanitizes the "action:"-prefixed information and have removed support for the "redirect:" and "redirectAction:" prefixes.

Applications that use the retired prefixes will no longer work properly after upgrading to Struts 2.3.15.1 or later versions. The Struts developers recommend replacing them in the code with fixed navigation rules.

The new Struts version also fixes a server path information leakage issue and adds improved input sanitizing for the file upload example.

"After a fileupload action, if the result jsp contains a <s:file> tag the value attribute is filled in with the server path where the file was saved," the developers said. "This discloses file system information about the server."

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags patchessecuritypatch managementExploits / vulnerabilitiesApache Software Foundation

Struggling for Christmas presents this year? Check out our Christmas Gift Guide for some top tech suggestions and more.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?