Linux Kernel 3.14.3/3.15 __poke_user/__poke_user_compat access control

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in Linux Kernel 3.14.3/3.15. This impacts the function __poke_user/__poke_user_compat. This manipulation causes access control.
This vulnerability is registered as CVE-2014-3534. No exploit is available.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability classified as critical was found in Linux Kernel 3.14.3/3.15 (Operating System). Affected by this vulnerability is the function __poke_user/__poke_user_compat. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was published 08/01/2014 by Martin Schwidefsky as confirmed git commit (GIT Repository). The advisory is shared at git.kernel.org. This vulnerability is known as CVE-2014-3534 since 05/14/2014. The exploitation appears to be easy. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1068 for this issue. Responsible for the vulnerability is the following code:
if ((data & ~mask) != PSW_USER_BITS)The advisory points out:
The PSW mask check of the PTRACE_POKEUSR_AREA command is incorrect. The PSW_MASK_USER define contains the PSW_MASK_ASC bits, the ptrace interface accepts all combinations for the address-space-control bits. To protect the kernel space the PSW mask check in ptrace needs to reject the address-space-control bit combination for home space.
The vulnerability scanner Nessus provides a plugin with the ID 76884 (Debian DSA-2992-1 : linux - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 122528 (Fedora Security Update for kernel (FEDORA-2014-9010)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. A possible mitigation has been published even before and not after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
if ((data ^ PSW_USER_BITS) & ~mask) /* Invalid psw mask. */ return -EINVAL; if ((data & PSW_MASK_ASC) == PSW_ASC_HOME) /* Invalid address-space-control bits */ return -EINVAL; if ((data & PSW_MASK_EA) && !(data & PSW_MASK_BA)) /* Invalid addressing mode bits */ return -EINVAL;
The vulnerability is also documented in the databases at X-Force (95069), Tenable (76884), SecurityFocus (BID 68940†), OSVDB (109546†) and Secunia (SA59790†). Additional details are provided at bugzilla.redhat.com. Similar entry is available at VDB-67287. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.4VulDB Meta Temp Score: 7.3
VulDB Base Score: 8.4
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 76884
Nessus Name: Debian DSA-2992-1 : linux - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 702992
OpenVAS Name: Debian Security Advisory DSA 2992-1 (linux - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: dab6cf55f81a6e16b8147aed9a843e1691dcd318
Timeline
05/14/2014 🔍06/23/2014 🔍
06/23/2014 🔍
07/16/2014 🔍
07/30/2014 🔍
07/30/2014 🔍
07/30/2014 🔍
08/01/2014 🔍
08/01/2014 🔍
08/07/2014 🔍
08/07/2014 🔍
02/10/2022 🔍
Sources
Vendor: kernel.orgAdvisory: dab6cf55f81a6e16b8147aed9a843e1691dcd318
Researcher: Martin Schwidefsky
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2014-3534 (🔍)
GCVE (CVE): GCVE-0-2014-3534
GCVE (VulDB): GCVE-100-67285
OVAL: 🔍
X-Force: 95069 - Linux Kernel ptrace.c privilege escalation, High Risk
SecurityFocus: 68940 - Linux Kernel CVE-2014-3534 Local Privilege Escalation Vulnerability
Secunia: 59790 - Debian update for kernel, Moderately Critical
OSVDB: 109546
SecurityTracker: 1030683 - Linux Kernel s390 Ptrace Flaw Lets Local Users Gain Elevated Privileges
Vulnerability Center: 45642 - Linux Kernel 3.0 through 3.2.13 Local Privilege Escalation in Ptrace_Pokeusr_Area, High
Misc.: 🔍
See also: 🔍
Entry
Created: 08/07/2014 10:08Updated: 02/10/2022 08:42
Changes: 08/07/2014 10:08 (91), 06/03/2017 07:37 (3), 02/10/2022 08:39 (5), 02/10/2022 08:42 (1)
Complete: 🔍
Cache ID: 216:5C7:103
No comments yet. Languages: en.
Please log in to comment.