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

NIST’s role in the global tech race against AI

4 min read - Last year, the United States Secretary of Commerce announced that the National Institute of Standards and Technology (NIST) has been put in charge of launching a new public working group on artificial intelligence (AI) that will build on the success of the NIST AI Risk Management Framework to address this rapidly advancing technology.However, recent budget cuts at NIST, along with a lack of strategy implementation, have called into question the agency’s ability to lead this critical effort. Ultimately, the success…

Researchers develop malicious AI ‘worm’ targeting generative AI systems

2 min read - Researchers have created a new, never-seen-before kind of malware they call the "Morris II" worm, which uses popular AI services to spread itself, infect new systems and steal data. The name references the original Morris computer worm that wreaked havoc on the internet in 1988.The worm demonstrates the potential dangers of AI security threats and creates a new urgency around securing AI models.New worm utilizes adversarial self-replicating promptThe researchers from Cornell Tech, the Israel Institute of Technology and Intuit, used what’s…

Passwords, passkeys and familiarity bias

5 min read - As passkey (passwordless authentication) adoption proceeds, misconceptions abound. There appears to be a widespread impression that passkeys may be more convenient and less secure than passwords. The reality is that they are both more secure and more convenient — possibly a first in cybersecurity.Most of us could be forgiven for not realizing passwordless authentication is more secure than passwords. Thinking back to the first couple of use cases I was exposed to — a phone operating system (OS) and a…

Topic updates

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