September 11, 2017 By Douglas Bonderud 2 min read

On Sept. 5, code review firm lgtm.com reported a critical flaw in open source Apache Struts to the code’s development team. Although it had already developed a working security breach vector, lgtm did not immediately disclose this information while Apache developers created and deployed a patch.

However, as noted by SecurityWeek, it didn’t take cybercriminals long to create their own versions — multiple exploits and a Metasploit module emerged within hours of the flaw going public. What’s more, the patch alone may not be enough to safeguard corporate systems.

No REST for the Wicked

Flaw CVE-2017-9805 affects any app using Struts versions dating back to 2008. According to TechSpot, a remote code execution (RCE) attack is possible when the Struts REST plugin is used with XStream handler to deserialize untrusted XML requests. Organizations such as Lockheed Martin, Citigroup, Virgin Atlantic and the IRS use this plugin, and several airline booking systems also rely on Struts to manage reservations.

The official Apache statement about this vulnerability noted no workaround is possible and recommended that organizations remove the REST plugin when not in use or limit its permissions to reduce the chance of compromise.

As ZDNet pointed out, many experts are taking an even stronger stand — Man Yue Mo of lgtm advised that all threat actors need is a web browser to carry out attacks, while Bas van Schaik of software engineering firm Semmle said, “I can’t stress how incredibly easy this is to exploit. If you know what request to send, you can start any process on the web server running a vulnerable application.”

Security Breach: Patch Imperfect?

Researchers at lgtm did the right thing: While they had a working exploit in hand, they kept it under wraps and reached out to Apache. The open source company worked quickly to create a patch, then released it along with a statement urging companies to limit Struts use and update existing apps. And that’s all it took. Within hours, cybercriminals developed viable exploit modules, and in less than two days, security firms saw evidence of coordinated attacks.

Here’s the problem — even with a solid patch available, not every company will implement the new code quickly. Some may still be unaware of the problem, while others might delay the patch because of system upgrades or maintenance. This gives threat actors incentive to work as quickly as possible to reverse-engineer vulnerabilities and attempt to crack servers still running old versions.

And as the TechSpot piece pointed out, the patch itself may not be enough, since entire apps may need to be rewritten using the updated Struts version, then tested again for new vulnerabilities and sent back out into the wild. If companies don’t catch these underlying Struts soft spots, the results could be disastrous.

Bottom line? The lgtm team followed protocol, and Apache fast-tracked a patch. But malicious actors are familiar with this timeline — they know that by putting in the work up front, it’s possible to compromise networks that should be patched and will be patched, but just haven’t gotten there yet. It’s a wake-up call for information security pros: Speed, not sophistication, is the biggest risk factor in a corporate security breach.

More from

What we can learn from the best collegiate cyber defenders

3 min read - This year marked the 19th season of the National Collegiate Cyber Defense Competition (NCCDC). For those unfamiliar, CCDC is a competition that puts student teams in charge of managing IT for a fictitious company as the network is undergoing a fundamental transformation. This year the challenge involved a common scenario: a merger. Ten finalist teams were tasked with managing IT infrastructure during this migrational period and, as an added bonus, the networks were simultaneously attacked by a group of red…

A spotlight on Akira ransomware from X-Force Incident Response and Threat Intelligence

7 min read - This article was made possible thanks to contributions from Aaron Gdanski.IBM X-Force Incident Response and Threat Intelligence teams have investigated several Akira ransomware attacks since this threat actor group emerged in March 2023. This blog will share X-Force’s unique perspective on Akira gained while observing the threat actors behind this ransomware, including commands used to deploy the ransomware, active exploitation of CVE-2023-20269 and analysis of the ransomware binary.The Akira ransomware group has gained notoriety in the current cybersecurity landscape, underscored…

New proposed federal data privacy law suggests big changes

3 min read - After years of work and unsuccessful attempts at legislation, a draft of a federal data privacy law was recently released. The United States House Committee on Energy and Commerce released the American Privacy Rights Act on April 7, 2024. Several issues stood in the way of passing legislation in the past, such as whether states could issue tougher rules and if individuals could sue companies for privacy violations. With the American Privacy Rights Act of 2024, the U.S. government established…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today