Linux vulnerability leaves thousands open to DNS attack

Buffer overflow glibc bug affects virtually all versions of the OS

An enormous vulnerability in Linux that could put potentially all computers running the operating system at risk has been uncovered by Google and Red Hat.

The stack-based buffer overflow bug, which has been given the designation CVE-2015-7547, affects all versions of glibc from version 2.9 onwards.

According to Google's analysis, the glibc DNS client side server can be subjected to a stack-based buffer overflow attack when the getaddrinfo() library function is used.

An attacker could use this vulnerability to carry out a remote code execution if a victim visits a malicious site, DNS server, or through a man-in-the-middle attack. What's more, Linux machines that have the bug are vulnerable to attack not only if they visit untrusted or compromised DNS servers, but simply if they try to resolve a hostname where that hostname's authoratitive DNS is an attacker.

Advertisement
Advertisement - Article continues below

Fermin J Serna, a staff security engineer, and Kevin Stadmeyer, a technical program manager, who both work for Google, said in a blog post that they managed to create a proof-of-concept exploit.

"The vectors to trigger this buffer overflow are very common and can include ssh, sudo, and curl. We are confident that the exploitation vectors are diverse and widespread," they said.

The bug is similar to the Ghost Linux vulnerability found in January 2015, which was also a remote code execution attack in glibc.

Commenting on the new vulnerability, Paul Farringdon, senior solution architect at Veracode, said: "Web application attacks remain one of the most frequent patterns in confirmed breaches [accounting] for up to 35 per cent in some industries according to the 2015 Verizon Data Breach Investigations Report."

"This type of finding underlines the need for organisations to be able to pinpoint known vulnerable components in their software as soon as the new exploit hits the news wires," he added.

A patch, created jointly by Red Hat and Google, is available here.

Featured Resources

The essential guide to cloud-based backup and disaster recovery

Support business continuity by building a holistic emergency plan

Download now

Trends in modern data protection

A comprehensive view of the data protection landscape

Download now

How do vulnerabilities get into software?

90% of security incidents result from exploits against defects in software

Download now

Delivering the future of work - now

The CIO’s guide to building the unified digital workspace for today’s hybrid and multi-cloud strategies.

Download now
Advertisement

Recommended

Visit/security/354156/google-confirms-android-cameras-can-be-hijacked-to-spy-on-you
Security

Google confirms Android cameras can be hijacked to spy on you

20 Nov 2019
Visit/open-source/34540/view-from-the-airport-linux-open-networking-summit-2019
open source

View from the airport: Linux Open Networking Summit 2019

1 Oct 2019
Visit/software/28109/what-is-open-source
Software

What is open source?

13 Sep 2019
Visit/operating-systems/28025/best-linux-distros-2019-the-finest-open-source-operating-systems-around
operating systems

Best Linux distros 2019

18 Jun 2019

Most Popular

Visit/cloud/microsoft-azure/354230/microsoft-not-amazon-is-going-to-win-the-cloud-wars
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Visit/cloud/amazon-web-services-aws/354223/what-to-expect-from-aws-reinvent-2019
Amazon Web Services (AWS)

What to expect from AWS Re:Invent 2019

29 Nov 2019
Visit/hardware/354232/raspberry-pi-4-owners-complain-of-broken-wi-fi-when-using-hdmi
Hardware

Raspberry Pi 4 owners complain of broken Wi-Fi when using HDMI

29 Nov 2019
Visit/mobile/google-android/354189/samsung-galaxy-a90-5g-review-simply-the-best-value-5g-phone
Google Android

Samsung Galaxy A90 5G review: Simply the best value 5G phone

22 Nov 2019