Linux Kernel up to 3.8.8 CAP_SYS_ADMIN set_ftrace_pid/set_graph_function null pointer dereference

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 classified as problematic was found in Linux Kernel up to 3.8.8. Affected is the function set_ftrace_pid/set_graph_function of the component CAP_SYS_ADMIN. The manipulation results in null pointer dereference. This vulnerability was named CVE-2013-3301. In addition, an exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability classified as problematic has been found in Linux Kernel up to 3.8.8 (Operating System). Affected is the function set_ftrace_pid/set_graph_function of the component CAP_SYS_ADMIN. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability. CVE summarizes:

The ftrace implementation in the Linux kernel before 3.8.8 allows local users to cause a denial of service (NULL pointer dereference and system crash) or possibly have unspecified other impact by leveraging the CAP_SYS_ADMIN capability for write access to the (1) set_ftrace_pid or (2) set_graph_function file, and then making an lseek system call.

The weakness was presented 04/12/2013 by Prasad J Pandit with Red Hat Security Response Team as not defined mailinglist post (Maillist). The advisory is shared for download at openwall.com. This vulnerability is traded as CVE-2013-3301 since 04/28/2013. The exploitability is told to be easy. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.

The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 70222 (Amazon Linux AMI : kernel (ALAS-2013-218)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350526 (Amazon Linux Security Advisory for kernel: ALAS-2013-218).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (83413), Exploit-DB (38465), Tenable (70222), OSVDB (92850†) and Secunia (SA53176†). See VDB-7997, VDB-8073, VDB-8176 and VDB-8484 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.

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: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 70222
Nessus Name: Amazon Linux AMI : kernel (ALAS-2013-218)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 892669
OpenVAS Name: Debian Security Advisory DSA 2669-1 (linux - privilege escalation/denial of service/information leak
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: git.kernel.org

Timelineinfo

04/12/2013 🔍
04/12/2013 +0 days 🔍
04/15/2013 +3 days 🔍
04/28/2013 +13 days 🔍
04/29/2013 +1 days 🔍
05/03/2013 +4 days 🔍
05/28/2013 +25 days 🔍
05/28/2013 +0 days 🔍
11/24/2024 +4198 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: openwall.com
Researcher: Prasad J Pandit
Organization: Red Hat Security Response Team
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-3301 (🔍)
GCVE (CVE): GCVE-0-2013-3301
GCVE (VulDB): GCVE-100-8568

OVAL: 🔍

X-Force: 83413
Secunia: 53176 - Ubuntu update for kernel, Less Critical
OSVDB: 92850
Vulnerability Center: 39739 - Linux Kernel Before 3.8.8 ftrace Implementation Allows Local DoS, Low

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

Entryinfo

Created: 05/03/2013 17:48
Updated: 11/24/2024 19:08
Changes: 05/03/2013 17:48 (77), 05/01/2017 11:11 (3), 05/10/2021 11:08 (3), 11/24/2024 19:08 (25)
Complete: 🔍
Committer:
Cache ID: 216:74F:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

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!