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

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…

AI cybersecurity solutions detect ransomware in under 60 seconds

2 min read - Worried about ransomware? If so, it’s not surprising. According to the World Economic Forum, for large cyber losses (€1 million+), the number of cases in which data is exfiltrated is increasing, doubling from 40% in 2019 to almost 80% in 2022. And more recent activity is tracking even higher.Meanwhile, other dangers are appearing on the horizon. For example, the 2024 IBM X-Force Threat Intelligence Index states that threat group investment is increasingly focused on generative AI attack tools.Criminals have been…

The major hardware flaw in Apple M-series chips

3 min read - The “need for speed” is having a negative impact on many Mac users right now. The Apple M-series chips, which are designed to deliver more consistent and faster performance than the Intel processors used in the past, have a vulnerability that can expose cryptographic keys, leading an attacker to reveal encrypted data. This critical security flaw, known as GoFetch, exploits a vulnerability found in the M-chips data memory-dependent prefetcher (DMP). DMP’s benefits and vulnerabilities DMP predicts memory addresses that the…

Topic updates

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