Linux Kernel up to 3.10.7 perf_event.c perf_event_open input validation

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

Summaryinfo

A vulnerability was found in Linux Kernel up to 3.10.7. It has been classified as problematic. Impacted is the function perf_event_open of the file arch/arm/kernel/perf_event.c. This manipulation causes input validation. This vulnerability is registered as CVE-2013-4254. Furthermore, an exploit is available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Linux Kernel up to 3.10.7 (Operating System). It has been declared as problematic. Affected by this vulnerability is the function perf_event_open of the file arch/arm/kernel/perf_event.c. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality, and integrity. The summary by CVE is:

The validate_event function in arch/arm/kernel/perf_event.c in the Linux kernel before 3.10.8 on the ARM platform allows local users to gain privileges or cause a denial of service (NULL pointer dereference and system crash) by adding a hardware event to an event group led by a software event.

The weakness was published 08/07/2013 by Vince Weaver as confirmed mailinglist post (oss-sec). It is possible to read the advisory at seclists.org. The public release has been coordinated with Linux. This vulnerability is known as CVE-2013-4254 since 06/12/2013. Attacking locally is a requirement. The requirement for exploitation is a single authentication. Technical details and also a private exploit are known.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 75364 (openSUSE Security Update : kernel (openSUSE-SU-2014:0677-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195919 (Ubuntu Security Notification for Linux Vulnerabilities (USN-1968-1)).

Upgrading to version 3.10.8 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at arm.linux.org.uk. 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 Tenable (75364), SecurityFocus (BID 61793†), OSVDB (96426†), Secunia (SA54494†) and Vulnerability Center (SBV-41204†). Similar entries are available at VDB-7886 and VDB-108587. 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: 4.4
VulDB Meta Temp Score: 4.0

VulDB Base Score: 4.4
VulDB Temp Score: 4.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Private
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 75364
Nessus Name: openSUSE Security Update : kernel (openSUSE-SU-2014:0677-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 866832
OpenVAS Name: Fedora Update for kernel FEDORA-2013-15151
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: Kernel 3.10.8
Patch: arm.linux.org.uk

Timelineinfo

06/12/2013 🔍
08/07/2013 +56 days 🔍
08/07/2013 +0 days 🔍
08/07/2013 +0 days 🔍
08/07/2013 +0 days 🔍
08/23/2013 +16 days 🔍
08/24/2013 +1 days 🔍
08/26/2013 +2 days 🔍
06/13/2014 +291 days 🔍
05/21/2021 +2534 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: seclists.org
Researcher: Vince Weaver
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-4254 (🔍)
GCVE (CVE): GCVE-0-2013-4254
GCVE (VulDB): GCVE-100-10015

OVAL: 🔍

SecurityFocus: 61793 - Linux Kernel 'perf_event.c' Local Privilege Escalation Vulnerability
Secunia: 54494 - Linux Kernel ARM Perf Event Privilege Escalation Vulnerability, Less Critical
OSVDB: 96426
Vulnerability Center: 41204 - Linux Kernel 3.0 Through 3.10.8 Local Privilege Escalation or Denial of Service due to a Flaw in the validate_event Function, High

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

Entryinfo

Created: 08/23/2013 12:43
Updated: 05/21/2021 15:57
Changes: 08/23/2013 12:43 (85), 05/09/2017 10:31 (3), 05/21/2021 15:57 (3)
Complete: 🔍
Committer:
Cache ID: 216:B58: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!