Linux Kernel up to 3.14.4 Packet Filter /net/core/filter.c numeric error

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 up to 3.14.4 and classified as problematic. This vulnerability affects unknown code of the file /net/core/filter.c of the component Packet Filter. Executing a manipulation can lead to numeric error. This vulnerability is tracked as CVE-2014-3145. Moreover, an exploit is present. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability was found in Linux Kernel up to 3.14.4 (Operating System). It has been declared as problematic. This vulnerability affects an unknown code of the file /net/core/filter.c of the component Packet Filter. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect availability. CVE summarizes:

The BPF_S_ANC_NLATTR_NEST extension implementation in the sk_run_filter function in net/core/filter.c in the Linux kernel through 3.14.3 uses the reverse order in a certain subtraction, which allows local users to cause a denial of service (over-read and system crash) via crafted BPF instructions. NOTE: the affected code was moved to the __skb_get_nlattr_nest function before the vulnerability was announced.

The issue has been introduced in 12/03/2009. The weakness was disclosed 04/13/2014 by Mathias Krause as confirmed git commit (GIT Repository). The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2014-3145 since 05/02/2014. The exploitation appears to be easy. The attack needs to be approached locally. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

A public exploit has been developed by Mathias Krause in Assembler and been published immediately after the advisory. It is possible to download the exploit at git.kernel.org. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1592 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 74132 (Fedora 19 : kernel-3.14.4-100.fc19 (2014-6354)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175246 (Debian Security Update for Linux (DSA-2949-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. A possible mitigation has been published 1 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (93053), Tenable (74132), SecurityFocus (BID 67321†), Secunia (SA58569†) and Vulnerability Center (SBV-44471†). Additional details are provided at seclists.org. The entry VDB-13191 is pretty similar. 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: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 74132
Nessus Name: Fedora 19 : kernel-3.14.4-100.fc19 (2014-6354)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 800909
OpenVAS Name: Fedora Update for kernel FEDORA-2015-5024
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: 🔍
Exploit Delay Time: 🔍

Patch: git.kernel.org

Timelineinfo

12/03/2009 🔍
04/13/2014 +1592 days 🔍
04/13/2014 +0 days 🔍
04/14/2014 +1 days 🔍
05/02/2014 +18 days 🔍
05/11/2014 +9 days 🔍
05/11/2014 +0 days 🔍
05/13/2014 +2 days 🔍
05/13/2014 +0 days 🔍
05/19/2014 +6 days 🔍
06/19/2021 +2588 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Researcher: Mathias Krause
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-3145 (🔍)
GCVE (CVE): GCVE-0-2014-3145
GCVE (VulDB): GCVE-100-13192

OVAL: 🔍

X-Force: 93053 - Linux Kernel filter.c denial of service, Medium Risk
SecurityFocus: 67321
Secunia: 58569 - Linux Kernel BPF Two Denial of Service Vulnerabilities, Not Critical
SecurityTracker: 1038201
Vulnerability Center: 44471 - Linux Kernel 3.14.3 and Earlier Local DoS Vulnerability due to Subtraction Order Reverse in Filter.C, Medium

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

Entryinfo

Created: 05/13/2014 14:40
Updated: 06/19/2021 13:47
Changes: 05/13/2014 14:40 (86), 05/28/2017 02:40 (6), 06/19/2021 13:41 (3), 06/19/2021 13:47 (1)
Complete: 🔍
Cache ID: 216::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 know our Splunk app?

Download it now for free!