Linux Kernel up to 4.9.12 ipc/shm.c do_shmat 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.
6.3$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in Linux Kernel up to 4.9.12. This affects the function do_shmat of the file ipc/shm.c. Performing a manipulation results in access control. This vulnerability is identified as CVE-2017-5669. The attack is only possible with local access. There is not any exploit available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability classified as problematic has been found in Linux Kernel up to 4.9.12 (Operating System). This affects the function do_shmat of the file ipc/shm.c. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.

The bug was discovered 02/28/2017. The weakness was released 02/24/2017 as confirmed git commit (GIT Repository). The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2017-5669 since 01/31/2017. An attack has to be approached locally. A authentication is required for exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1068 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 97640 (Debian DLA-849-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 and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175984 (Debian Security Update for Linux (DSA 3804-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (97640), SecurityFocus (BID 96754†) and SecurityTracker (ID 1037918†). Entries connected to this vulnerability are available at VDB-97226, VDB-97445, VDB-97446 and VDB-97448. Statistical analysis made it clear that VulDB provides the best quality for 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: 6.5
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

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: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 97640
Nessus Name: Debian DLA-849-1 : linux security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703804
OpenVAS Name: Debian Security Advisory DSA 3804-1 (linux - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: github.com

Timelineinfo

01/10/2017 🔍
01/31/2017 +21 days 🔍
02/24/2017 +24 days 🔍
02/24/2017 +0 days 🔍
02/24/2017 +0 days 🔍
02/24/2017 +0 days 🔍
02/28/2017 +3 days 🔍
02/28/2017 +0 days 🔍
03/09/2017 +9 days 🔍
03/10/2017 +1 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: github.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-5669 (🔍)
GCVE (CVE): GCVE-0-2017-5669
GCVE (VulDB): GCVE-100-97281

OVAL: 🔍

SecurityFocus: 96754 - Linux Kernel CVE-2017-5669 Local Security Bypass Vulnerability
OSVDB: - CVE-2017-5669 - Linux - Security Bypass Issue
SecurityTracker: 1037918

See also: 🔍

Entryinfo

Created: 02/24/2017 20:16
Changes: 02/24/2017 20:16 (91)
Complete: 🔍
Cache ID: 216:6EE:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!