Linux Kernel 2.6.23 ptrace_may_attach 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.
5.6$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel 2.6.23. It has been classified as problematic. This affects the function ptrace_may_attach. This manipulation causes race condition. This vulnerability is registered as CVE-2008-2365. Furthermore, an exploit is available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as problematic was found in Linux Kernel 2.6.23 (Operating System). Affected by this vulnerability is the function ptrace_may_attach. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect availability. The summary by CVE is:

Race condition in the ptrace and utrace support in the Linux kernel 2.6.9 through 2.6.25, as used in Red Hat Enterprise Linux (RHEL) 4, allows local users to cause a denial of service (oops) via a long series of PTRACE_ATTACH ptrace calls to another user s process that trigger a conflict between utrace_detach and report_quiescent, related to "late ptrace_may_attach() check" and "race around &dead_engine_ops setting," a different vulnerability than CVE-2007-0771 and CVE-2008-1514. NOTE: this issue might only affect kernel versions before 2.6.16.x.

The bug was discovered 06/02/2008. The weakness was published 06/30/2008 by ryan (oss-sec). The advisory is shared at openwall.com. This vulnerability is known as CVE-2008-2365 since 05/21/2008. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

A public exploit has been developed in ANSI C. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 262 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 33365 (CentOS 4 : kernel (CESA-2008:0508)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117302 (CentOS Security Update for Kernel (CESA-2008:0508)).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (43567), Exploit-DB (31965), Tenable (33365), SecurityFocus (BID 29945†) and OSVDB (48563†). Similar entry is available at VDB-42990. 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: 6.2
VulDB Meta Temp Score: 5.6

VulDB Base Score: 6.2
VulDB Temp Score: 5.6
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: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 33365
Nessus Name: CentOS 4 : kernel (CESA-2008:0508)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 880015
OpenVAS Name: Centreon command_name Parameter Remote Command Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

10/09/2007 🔍
05/21/2008 +225 days 🔍
06/02/2008 +12 days 🔍
06/25/2008 +23 days 🔍
06/25/2008 +0 days 🔍
06/27/2008 +2 days 🔍
06/29/2008 +2 days 🔍
06/30/2008 +1 days 🔍
06/30/2008 +0 days 🔍
07/02/2008 +2 days 🔍
03/16/2015 +2448 days 🔍
12/22/2024 +3569 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: openwall.com
Researcher: ryan
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-2365 (🔍)
GCVE (CVE): GCVE-0-2008-2365
GCVE (VulDB): GCVE-100-42985

OVAL: 🔍

X-Force: 43567
SecurityFocus: 29945 - Linux Kernel utrace and ptrace Local Denial of Service Vulnerability
Secunia: 30850
OSVDB: 48563 - CVE-2008-2365 - Linux - Kernel - Denial-Of-Service Issue
SecurityTracker: 1020362
Vulnerability Center: 18685 - Linux Kernel 2.6.10-2.6.25.5 ptrace Race Condition Allows Local DoS, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/16/2015 17:00
Updated: 12/22/2024 10:00
Changes: 03/16/2015 17:00 (79), 08/12/2019 08:40 (9), 12/22/2024 10:00 (19)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!