Hackers targeting servers running Apache Struts applications, researchers say

A tool for exploiting known Struts vulnerabilities is available on Chinese hacker forums, Trend Micro researchers said

Chinese hackers are using an automated tool to exploit known vulnerabilities in Apache Struts, in order to install backdoors on servers hosting applications developed with the framework.

Apache Struts is a popular open-source framework for developing Java-based Web applications that's maintained by the Apache Software Foundation.

Several security updates were released for Struts this year, including last month, to address highly critical vulnerabilities that could enable remote attackers to execute arbitrary commands on Web servers running applications built with the framework.

Hackers have since taken notice and are now actively exploiting those flaws, according to researchers from security firm Trend Micro, who found a tool on Chinese underground forums that automates attacks against vulnerable Struts versions.

The tool exploits the following Struts vulnerabilities to compromise servers: S2-016 (CVE-2013-2251), which was patched in Struts 2.3.15.1 on July 16; S2-013 (CVE-2013-1966), patched in Struts 2.3.14.1 on May 22; S2-009 (CVE-2011-3923), patched in Struts 2.3.1.2 on Jan. 22, 2012; and S2-005 (CVE-2010-1870), patched in Struts 2.2.1 on Aug. 16, 2010.

The existence of the attack tool was confirmed on July 19, three days after the most recent vulnerability was disclosed to the public, Noriaki Hayashi, a senior threat researcher at Trend Micro, said Wednesday in a blog post.

"We have observed attacks against Asian targets using this specific hacking tool, which indicates these Struts flaws are being actively exploited by potential threat actors in the wild," he said.

Once hackers break into a Linux-based or Windows-based server using the Struts attack tool, they can execute pre-configured commands in order to extract information about the server's operating system, directory structure, active users and network configuration.

The tool also allows attackers to plant a so-called Web shell that acts as a backdoor, giving them persistent access to the servers to execute other commands and use them as they see fit, Hayashi said.

The Web shell installed by the tool is called JspWebShell and is coded using JavaServer Pages (JSP).

Web shells with more powerful capabilities are easily available on hacker forums and they allow attackers to search for and steal information from compromised servers, the researcher said.

Struts 2.3.15.1, which is currently the most secure version of the framework, removed several vulnerable features like the "redirect:" and "redirectAction:" prefixes of the DefaultActionMapper class. The Struts developers warned that upgrading to this version might break some applications that rely on those features and recommended replacing the retired prefixes with fixed navigation rules.

Upgrading to the latest version is strongly recommended, Hayashi said. "The potential risks from a successful attack outweigh the inconvenience of modifying any deployed apps."

Join the PC World newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags patchesopen sourceapplication developmentpatch managementspywareApache Software FoundationExploits / vulnerabilitiesDevelopment toolsintrusiontrend microsecuritydata breachsoftwareWeb servers

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

Lucian Constantin

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?