Kernel/ptrace.c in Linux kernel mishandles contains an improper privilege management vulnerability that allows local users to obtain root access.
In het kort
CVE-2019-13272 (Linux Kernel Improper Privilege Management) heeft een CVSS 3.1-basisscore van 7.8, beoordeeld als hoog. CISA heeft deze op 10 dec 2021 toegevoegd aan de catalogus van actief misbruikte kwetsbaarheden. Opgelost in Linux Kernel 3.16.71 of later.
Beschrijving
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.
CVSS 3.1-ontleding
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HGetroffen producten
- Netapp Active Iq Unified Manageralle versies
- Netapp E-series Performance Analyzeralle versies
- Netapp E-series Santricity OS Controller≥ 11.0.0 ≤ 11.60.3
- Netapp Hci Management Nodealle versies
- Netapp Service Processoralle versies
- Netapp Solidfirealle versies
- Netapp Steelstore Cloud Integrated Storagealle versies
- Netapp Hci Compute Nodealle versies
- Canonical Ubuntu Linux16.04 · 18.04 · 19.04
- Debian Linux10.0 · 8.0 · 9.0
- Fedoraproject Fedora29
- Linux Kernel≥ 3.16.52 < 3.16.71 · ≥ 4.10 < 4.14.133 · ≥ 4.1.39 < 4.2 · ≥ 4.15 < 4.19.58
- Netapp Aff A700s Firmwarealle versies
- Netapp H410c Firmwarealle versies
- Netapp H610s Firmwarealle versies
- Redhat Enterprise Linux7.0 · 8.0
- Redhat Enterprise Linux For Arm 647.0_aarch64
- Redhat Enterprise Linux For Ibm Z Systems7.0_s390x
- Redhat Enterprise Linux For Real Time8
- Redhat Enterprise Linux For Real Time For Nfv8.0
- Redhat Enterprise Linux For Real Time For Nfv Tus8.2 · 8.4 · 8.6 · 8.8
- Redhat Enterprise Linux For Real Time Tus8.2 · 8.4 · 8.6 · 8.8
Herstel
Opgelost in- Linux Kernel≥ 3.16.71
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1903
- https://bugzilla.redhat.com/show_bug.cgi?id=1730895
- https://bugzilla.suse.com/show_bug.cgi?id=1140671
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17
- https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6994eefb0053799d2e07cd140df6c2ea106c41ee
Referenties
- http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.html
- http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
- http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html
- http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.html
- http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html
- http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.html
- https://access.redhat.com/errata/RHSA-2019:2405
- https://access.redhat.com/errata/RHSA-2019:2411
- https://access.redhat.com/errata/RHSA-2019:2809
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1903
en nog 20 referenties
Gerelateerde CVE's
Misbruikte en kritieke kwetsbaarheden in hetzelfde product of van dezelfde leverancier.
Data uit de NVD, CISA KEV-catalogus en FIRST EPSS. De CVSS 4.0-basisscore wordt getoond als de NVD die heeft, anders CVSS 3.1.
