Permissions, Privileges, and Access Controls in Linux kernel - CVE-2019-13272
Published: July 22, 2019 / Updated: June 21, 2024
Vulnerability identifier: #VU19284
CSH Severity: Low
CVSS v4 BT: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Clear]
CVE-ID: CVE-2019-13272
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability:
The vulnerability is being exploited in the wild
Vulnerability details
The vulnerability allows a local user to perform unauthorized actions on a targeted system.
The vulnerability exists when recording the credentials of a process that will create a ptrace relationship in the "ptrace_link" function in the "kernel/ptrace.c" file. A local authenticated user can create a specially crafted application and escalate privileges on the system.
Affected software
Linux kernel
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
Slackware Linux
Fedora
linux (Debian package)
kernel-alt (Red Hat package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
linux-4.4.186/kernel-generic
linux-4.4.186/kernel-huge
linux-4.4.186/kernel-modules
linux-4.4.186/kernel-headers
kernel
kernel-headers
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
Slackware Linux
Fedora
linux (Debian package)
kernel-alt (Red Hat package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
linux-4.4.186/kernel-generic
linux-4.4.186/kernel-huge
linux-4.4.186/kernel-modules
linux-4.4.186/kernel-headers
kernel
kernel-headers
How to mitigate CVE-2019-13272
Install updates from vendor's website.
Linux kernel - update to 5.1.17
linux (Debian package) - update to 4.9.168-1+deb9u4
kernel-alt (Red Hat package) - update to 4.14.0-115.12.1.el7a
kernel (Red Hat package) - update to 4.18.0-80.7.2.el8_0
kernel-rt (Red Hat package) - update to 4.18.0-80.7.2.rt9.154.el8_0
linux-4.4.186/kernel-generic - update to 4.4.186
linux-4.4.186/kernel-huge - update to 4.4.186
linux-4.4.186/kernel-modules - update to 4.4.186
linux-4.4.186/kernel-headers - update to 4.4.186_smp
kernel - update to 5.1.18-200.fc29
kernel-headers - update to 5.1.18-200.fc29
linux (Debian package) - update to 4.9.168-1+deb9u4
kernel-alt (Red Hat package) - update to 4.14.0-115.12.1.el7a
kernel (Red Hat package) - update to 4.18.0-80.7.2.el8_0
kernel-rt (Red Hat package) - update to 4.18.0-80.7.2.rt9.154.el8_0
linux-4.4.186/kernel-generic - update to 4.4.186
linux-4.4.186/kernel-huge - update to 4.4.186
linux-4.4.186/kernel-modules - update to 4.4.186
linux-4.4.186/kernel-headers - update to 4.4.186_smp
kernel - update to 5.1.18-200.fc29
kernel-headers - update to 5.1.18-200.fc29
External References
- https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee
- https://cdn.kernel.org/pub/linux/kernel/v5.x/
- https://github.com/bcoles/kernel-exploits/tree/master/CVE-2019-13272
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/ptrace_trace...