Linux Kernel 3.14.3/3.15 __poke_user/__poke_user_compat access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 7.3

VulDB Base Score: 8.4
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: dab6cf55f81a6e16b8147aed9a843e1691dcd318

Timelineinfo

05/14/2014 🔍
06/23/2014 +40 days 🔍
06/23/2014 +0 days 🔍
07/16/2014 +23 days 🔍
07/30/2014 +14 days 🔍
07/30/2014 +0 days 🔍
07/30/2014 +0 days 🔍
08/01/2014 +2 days 🔍
08/01/2014 +0 days 🔍
08/07/2014 +6 days 🔍
08/07/2014 +0 days 🔍
02/10/2022 +2744 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: 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: 🔍

Entryinfo

Created: 08/07/2014 10:08
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!