Cybersecurity news

Jessica Doner

Back to the list

Big Fish: OpenBSD Root Exploit Chains a 37-Year-Old BSD Bug With a Kernel Flaw

Security Affairs,

A cybersecurity firm published an exploit for OpenBSD that chains a long-standing bug with a kernel flaw to bypass security protections.

Vulnerabilities and patches

Overview

A cybersecurity firm named Calif released a full exploitA piece of code or technique that uses a software flaw to break into or crash a system for a local privilege escalationA flaw that lets an attacker who already has a low-level login on a machine gain administrator control vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend in OpenBSD 7.9. This exploit combines two separate kernelThe core part of an operating system that manages memory, hardware, and every running program flaws, including a 37-year-old integer overflowA math bug where a number in a program grows larger than its storage size and wraps around that originated in the original BSD sources. The attack bypasses OpenBSD's KARL address randomization and hardware protections without requiring any information disclosureA software flaw or misconfiguration that unintentionally exposes private data, keys, or system details to unauthorized users. OpenBSD already shipped patchesA software update released by a developer to fix a bug or close a security flaw for both issues in September, with the integer overflow fix released on September 14 and the related use-after-freeA memory bug where a program keeps using a memory slot after releasing it fix on September 30. These patches are available through syspatch and cover all architectures. The vulnerability allows an attacker to push a shared memory attachment counter beyond its limit, causing it to wrap around to a negative value and trigger a use-after-free condition.

Terms in this story

exploit
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
local privilege escalation
A flaw that lets an attacker who already has a low-level login on a machine gain administrator control. Unlike a remote flaw that works across the internet, local privilege escalation requires the attacker to get code running on the computer first and then step up to full system rights.
privilege escalation
A flaw or trick that lets a low-level user account gain administrator control over a system. After breaking into a regular guest or employee account, an attacker uses privilege escalation to gain full system rights and disable security tools. Security+ objective 2.4 lists the term
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
Kernel
The core part of an operating system that manages memory, hardware, and every running program. Because the kernel has complete control over the computer, a kernel vulnerability or malicious kernel driver lets an attacker bypass security software that runs at the normal program level.
integer overflow
A math bug where a number in a program grows larger than its storage size and wraps around. In an integer overflow, adding to a maximum value wraps the number back to zero or a negative value, which can trick a program into allocating a tiny memory buffer.
information disclosure
A software flaw or misconfiguration that unintentionally exposes private data, keys, or system details to unauthorized users. An information disclosure bug might return detailed server error messages, memory contents, or other customers' profile fields that help an attacker plan a deeper break-in.
Patches
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
use-after-free
A memory bug where a program keeps using a memory slot after releasing it. Software makers frequently patch use-after-free bugs because an attacker can fill that freed memory slot with crafted data and trick the program into running malicious code.
Exploit Chains
Two or more separate vulnerabilities linked together in sequence to break through multiple layers of defense. A single bug in a browser tab might not be enough on its own, so an attacker combines a browser bug with a second kernel bug in an exploit chain to escape the sandbox.
root access
The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
bit
1 binary digit, a 1 or a 0 (a switch that is on or off). Every file, network packet, and cryptographic key in a computer is stored as a long sequence of bits, and key strength is measured by how many bits the key contains. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Security Affairs website. Cite the article, not this page.

Read the full article on Security Affairs (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related