Actively exploited vulnerability

Linux Kernel: privilege escalation flaw under attack

CVE-2019-13272 · Linux Kernel Improper Privilege Management Vulnerability

Concerns everyone who uses it7.8 high

What is affected

Linux Kernel is found on ordinary personal computers and phones, so this is not only a problem for companies. If you use it and have not updated since the fix was released, you are exposed.

Kernel/ptrace.c in Linux kernel mishandles contains an improper privilege management vulnerability that allows local users to obtain root access.

CISA's description

What an attacker can do

This is a privilege escalation flaw. It lets an attacker turn limited access into full administrator control. Attackers pair it with another flaw or a malicious file: once anything of theirs runs on the device, this bug lets it take over completely.

How it is reached
Needs access to the device or a file opened on it
Access the attacker needs
A basic user account
Does the victim have to do something?
No, works without the victim doing anything

What to do

  1. Update Linux Kernel now. Open the update or "About" screen, install whatever is offered and restart the app or device, because the fix is not active until you do.
  2. Turn on automatic updates so the next fix arrives without you having to look for it.
  3. If your device is too old to receive this update, stop using the affected app for anything sensitive and plan a replacement.

Apply updates per vendor instructions.

Action required by CISA for US federal agencies

How urgent is it

CISA added this vulnerability to its Known Exploited Vulnerabilities catalogue on December 10, 2021, which means there is reliable evidence of attacks in the wild. US federal agencies must fix it by June 10, 2022, a deadline that has already passed. That deadline does not bind anyone else, but it shows how seriously the agency rates it.

The EPSS model estimates a 52% probability that this flaw will be exploited somewhere in the next 30 days. That is higher than 99% of all scored vulnerabilities.

Its CVSS severity score is 7.8 out of 10 (high), as recorded in the US National Vulnerability Database.

Technical description

In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.

NIST National Vulnerability Database
5,442 members already hereReading, writing, commenting and voting. 0 verified · 167 joined this year