February 27, 2017 By Larry Loeb 2 min read

Andrey Konovalov, a security researcher at Google, found a use-after-free hole within Linux, CSO Online reported. This particular flaw is of interest because it appears to be situational. It only showed up in kernels built with a certain configuration option — CONFIG_IP_DCCP — enabled.

Unfortunately, many popular Linux distributions have enabled this option by default. A new Linux update has since patched the vulnerability, although the exploit has been present in Linux kernels since 2005.

Don’t Fall in a Heap

The flaw allows cybercriminals to use heap spraying methods to execute arbitrary code inside the kernel and escalate permissions.

“If the overwritten object has any triggerable function pointers,” Konovalov wrote in his announcement, “an attacker gets to execute arbitrary code within the kernel.”

An attacker might hijack a low-permissions account, then use this hole to escalate the permissions that are given to that user. Even though this is a local escalation bug, it may be combined with other types of attacks that are amenable to remote exploitation. Then the local user is, in reality, a remote one.

This flaw dates back to 2005, when the Linux kernel started to support the Datagram Congestion Control Protocol (DCCP).

Linux Update Offers Quick Fix

Red Hat disclosed that Red Hat Enterprise Linux 5, 6, 7 and MRG 2 kernels were affected. Patches are currently available for Red Hat Enterprise Linux 6 and 7 and for the Red Hat Enterprise Linux for Real Time for NFV (v. 7) (kernel-rt).

While Debian 7 Wheezy and Debian 8 Jessie have also been fixed, Debian Stretch and Sid have yet to be patched. Additionally, patches are available for Ubuntu 12.04 LTS, 14.04 LTS, 16.04 LTS and 16.10.

Only Linux Enterprise Server 10 is affected in the SUSE distros. SUSE Linux Enterprise Server 11 SP 1 to 4 and SUSE Linux Enterprise Server 12 SP 1 and 2 do not support the problematic DCCP protocol.

Recent versions of the SELinux policy can also mitigate this problem, no matter what the enable state is set to. The policy can be configured to not load the DCCP module even if it is called. No module means no problems.

While this problem needs to be patched, administrators must ensure that they use the correct Linux update.

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