Linux Kernel 3.2.53/3.4.72/3.10.22/3.12.3 net/packet/af_packet.c packet_recvmsg input validation
![Linux](/logos/linux.jpg)
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.9 | $0-$5k | 0.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), Tenable (71936), SecurityFocus (BID 64744†), OSVDB (101805†) and Secunia (SA55882†).
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.2VulDB Meta Temp Score: 5.9
VulDB Base Score: 6.2
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
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
Timeline
11/04/2013 🔍11/21/2013 🔍
11/21/2013 🔍
01/06/2014 🔍
01/06/2014 🔍
01/06/2014 🔍
01/06/2014 🔍
01/09/2014 🔍
02/17/2014 🔍
06/04/2021 🔍
Sources
Vendor: kernel.orgAdvisory: 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
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
Vulnerability Center: 43307 - Linux Kernel before 3.12.4 Local Information Disclosure Vulnerability in packet_recvmsg(), Medium
Entry
Created: 01/09/2014 10:35Updated: 06/04/2021 18:49
Changes: 01/09/2014 10:35 (79), 05/21/2017 14:05 (6), 06/04/2021 18:49 (3)
Complete: 🔍
Committer: olku
Cache ID: 18:63D:103
No comments yet. Languages: en.
Please log in to comment.