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 on July 16; S2-013 (CVE-2013-1966), patched in Struts on May 22; S2-009 (CVE-2011-3923), patched in Struts 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, 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 CSO newsletter!

Error: Please check your email address.

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

More about ApacheApache Software FoundationLinuxTrend Micro Australia

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Lucian Constantin

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts