June 22, 2017 By Mark Samuels 2 min read

A vulnerability known as the Stack Clash bug could be exploited by attackers to gain full root privileges. Security firm Qualys reported the bug, which affects memory management in Linux and Unix-based operating systems. The vulnerability is known as Stack Clash because it occurs when attackers force an application’s stack to clash with another memory region.

Researchers at Qualys worked with vendors to create patches, which are now available. News of the bug should serve as a timely reminder to IT managers about the importance of both updates and patch management for all operating systems.

Dissecting the Stack Clash Bug

The stack in a computer grows automatically when the computer needs additional memory. However, if the stack gets too large and encroaches on another memory region, the program may not be able to distinguish between the two. “An attacker can exploit this confusion to overwrite the stack with the other memory region, or the other way around,” the researchers wrote.

The concept of stack clashing is nothing new. Qualys explained that the stack was first exploited in 2005 and emerged again in 2010. Although Linux subsequently attempted to introduce a protective measure known as the stack guard page, stack clashes remain widespread and exploitable.

Qualys found several other secondary vulnerabilities directly related to the primary Stack Clash bug. Attackers are likely to chain the vulnerabilities to more effectively execute malicious code. An actor with access to an affected system could obtain full root privileges.

Understanding the Risk

Qualys developed seven exploits and seven proof-of-concept (PoC) codes to highlight the extent of the security hole. The firm then worked closely with vendors to develop patches before releasing news of the vulnerability to the wider IT community.

The researchers reported that they were not aware of any remotely exploitable applications. However, vulnerable apps could theoretically facilitate remote exploitation, according to ZDNet.

The update provides the easiest and safest way for IT managers and users to protect their systems, according to the Qualys. Patches for all flavors of operating systems have been available since June 19.

Patch Management and Testing Are Critical

Businesses should always keep their operating systems up to date. In the case of the Stack Clash bug, Qualys strongly advised IT managers to place a high priority on patching the vulnerabilities immediately.

Managing multiple patches is no straightforward task, especially when an IT team is responsible for many machines. Effective security starts with strong patch management procedures and an up-to-date view of internal infrastructure.

IT decision-makers should work with their business peers to decide which areas of the technology environment are most important and which systems should be patched first. Security teams should always test patches before they are applied in a production environment. Such testing can help IT teams avoid potentially costly downtime.

More from

What does resilience in the cyber world look like in 2025 and beyond?

6 min read -  Back in 2021, we ran a series called “A Journey in Organizational Resilience.” These issues of this series remain applicable today and, in many cases, are more important than ever, given the rapid changes of the last few years. But the term "resilience" can be difficult to define, and when we define it, we may limit its scope, missing the big picture.In the age of generative artificial intelligence (gen AI), the prevalence of breach data from infostealers and the near-constant…

Airplane cybersecurity: Past, present, future

4 min read - With most aviation processes now digitized, airlines and the aviation industry as a whole must prioritize cybersecurity. If a cyber criminal launches an attack that affects a system involved in aviation — either an airline’s system or a third-party vendor — the entire process, from safety to passenger comfort, may be impacted.To improve security in the aviation industry, the FAA recently proposed new rules to tighten cybersecurity on airplanes. These rules would “protect the equipment, systems and networks of transport…

Protecting your digital assets from non-human identity attacks

4 min read - Untethered data accessibility and workflow automation are now foundational elements of most digital infrastructures. With the right applications and protocols in place, businesses no longer need to feel restricted by their lack of manpower or technical capabilities — machines are now filling those gaps.The use of non-human identities (NHIs) to power business-critical applications — especially those used in cloud computing environments or when facilitating service-to-service connections — has opened the doors for seamless operational efficiency. Unfortunately, these doors aren’t the…

Topic updates

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