Linux Kernel 4.2 ipc_addid race condition

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.
8.5$0-$5k0.00

Summaryinfo

A vulnerability has been found in Linux Kernel 4.2 and classified as problematic. This issue affects the function ipc_addid. Performing a manipulation results in race condition. This vulnerability is identified as CVE-2015-7613. The attack can be initiated remotely. There is not any exploit available. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability classified as critical has been found in Linux Kernel 4.2 (Operating System). This affects the function ipc_addid. The manipulation with an unknown input leads to a race condition vulnerability. CWE is classifying the issue as CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Race condition in the IPC object implementation in the Linux kernel through 4.2.3 allows local users to gain privileges by triggering an ipc_addid call that leads to uid and gid comparisons against uninitialized data, related to msg.c, shm.c, and util.c.

The weakness was released 10/01/2015 as Bug 1268270 as confirmed bug report (Bugzilla). It is possible to read the advisory at bugzilla.redhat.com. This vulnerability is uniquely identified as CVE-2015-7613 since 10/01/2015. The exploitability is told to be difficult. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 86634 (Amazon Linux AMI : kernel (ALAS-2015-603)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350099 (Amazon Linux Security Advisory for kernel: ALAS-2015-603).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

id = ipc_addid(&msg_ids(ns), &msq->q_perm, ns->msg_ctlmni);
if (id < 0) {
   ipc_rcu_putref(msq, msg_rcu_free);
   return id;
}

The vulnerability is also documented in the databases at X-Force (106887), Tenable (86634), SecurityFocus (BID 76977†) and Vulnerability Center (SBV-53266†). Further details are available at seclists.org. Entries connected to this vulnerability are available at VDB-74789 and VDB-107481. 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: 9.8
VulDB Meta Temp Score: 8.5

VulDB Base Score: 9.8
VulDB Temp Score: 8.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 86634
Nessus Name: Amazon Linux AMI : kernel (ALAS-2015-603)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703372
OpenVAS Name: Debian Security Advisory DSA 3372-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
McAfee IPS: 🔍
McAfee IPS Version: 🔍

Timelineinfo

10/01/2015 🔍
10/01/2015 +0 days 🔍
10/01/2015 +0 days 🔍
10/01/2015 +0 days 🔍
10/07/2015 +5 days 🔍
10/07/2015 +0 days 🔍
10/19/2015 +12 days 🔍
10/26/2015 +7 days 🔍
10/28/2015 +2 days 🔍
07/17/2024 +3184 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: Bug 1268270
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-7613 (🔍)
GCVE (CVE): GCVE-0-2015-7613
GCVE (VulDB): GCVE-100-78291

OVAL: 🔍

X-Force: 106887 - Linux Kernel ipc_addid() unauthorized access
SecurityFocus: 76977 - Linux Kernel 'ipc_addid()' Function Local Memory Corruption Vulnerability
SecurityTracker: 1034094
Vulnerability Center: 53266 - Linux Kernel 3.12 thriugh 4.2 Local Code Execution due to Memory Corruption, High

Misc.: 🔍
See also: 🔍

Entryinfo

Created: 10/07/2015 10:49
Updated: 07/17/2024 18:20
Changes: 10/07/2015 10:49 (68), 09/21/2018 09:58 (20), 06/20/2022 09:18 (3), 07/17/2024 18:20 (16)
Complete: 🔍
Cache ID: 216:E98:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!