Linux Kernel 3.2.53/3.4.72/3.10.22/3.12.3 net/packet/af_packet.c packet_recvmsg 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.
5.9$0-$5k0.00

A vulnerability, which was classified as problematic, was found in Linux Kernel 3.2.53/3.4.72/3.10.22/3.12.3 (Operating System). Affected is the function packet_recvmsg of the file net/packet/af_packet.c. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality. CVE summarizes:

The packet_recvmsg function in net/packet/af_packet.c in the Linux kernel before 3.12.4 updates a certain length value before ensuring that an associated data structure has been initialized, which allows local users to obtain sensitive information from kernel memory via a (1) recvfrom, (2) recvmmsg, or (3) recvmsg system call.

The weakness was released 11/21/2013 by Hannes Frederic Sowa as Linux kernel: net: memory leak in recvmsg handlermsg_name & msg_namelen logic as not defined mailinglist post (oss-sec). The advisory is available at seclists.org. This vulnerability is traded as CVE-2013-7270 since 11/04/2013. The exploitability is told to be easy. Local access is required to approach this attack. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 71936 (Mandriva Linux Security Advisory : kernel (MDVSA-2014:001)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195763 (Ubuntu Security Notification for Linux Vulnerabilities (USN-2109-1)).

Upgrading to version 3.2.54, 3.4.73, 3.10.23 or 3.12.4 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 (90131) and Tenable (71936). Entries connected to this vulnerability are available at 11507, 11712, 11755 and 11756.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.2
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.2
VulDB Temp Score: 5.9
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
ATT&CK: Unknown

Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 71936
Nessus Name: Mandriva Linux Security Advisory : kernel (MDVSA-2014:001)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 841713
OpenVAS Name: Ubuntu Update for linux USN-2109-1
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.2.54/3.4.73/3.10.23/3.12.4
Patch: git.kernel.org

Timelineinfo

11/04/2013 🔍
11/21/2013 +17 days 🔍
11/21/2013 +0 days 🔍
01/06/2014 +46 days 🔍
01/06/2014 +0 days 🔍
01/06/2014 +0 days 🔍
01/06/2014 +0 days 🔍
01/09/2014 +3 days 🔍
02/17/2014 +39 days 🔍
06/04/2021 +2664 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: Linux kernel: net: memory leak in recvmsg handlermsg_name & msg_namelen logic
Researcher: Hannes Frederic Sowa
Status: Not defined
Confirmation: 🔍

CVE: CVE-2013-7270 (🔍)
OVAL: 🔍

X-Force: 90131
Vulnerability Center: 43307 - Linux Kernel before 3.12.4 Local Information Disclosure Vulnerability in packet_recvmsg(), Medium
SecurityFocus: 64744 - Linux Kernel 'net/packet/af_packet.c' Local Information Disclosure Vulnerability
Secunia: 55882 - Linux Kernel "recvmsg()" and "recvfrom()" Information Disclosure Weakn, Not Critical
OSVDB: 101805

See also: 🔍

Entryinfo

Created: 01/09/2014 10:35 AM
Updated: 06/04/2021 06:49 PM
Changes: 01/09/2014 10:35 AM (79), 05/21/2017 02:05 PM (6), 06/04/2021 06:49 PM (3)
Complete: 🔍
Committer: olku

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!