Linux Kernel 3.2.53/3.4.72/3.10.22/3.12.3 net/x25/af_x25.c x25_recvmsg input validation

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel 3.2.53/3.4.72/3.10.22/3.12.3. It has been rated as problematic. This affects the function x25_recvmsg of the file net/x25/af_x25.c. This manipulation causes input validation.
This vulnerability is tracked as CVE-2013-7271. No exploit exists.
Upgrading the affected component is advised.
Details
A vulnerability has been found in Linux Kernel 3.2.53/3.4.72/3.10.22/3.12.3 (Operating System) and classified as problematic. Affected by this vulnerability is the function x25_recvmsg of the file net/x25/af_x25.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. The summary by CVE is:
The x25_recvmsg function in net/x25/af_x25.c in the Linux kernel before 3.12.4 updates a certain length value without 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 disclosed 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). It is possible to read the advisory at seclists.org. This vulnerability is known as CVE-2013-7271 since 11/04/2013. The exploitation appears to be easy. Attacking locally is a requirement. The exploitation doesn't need any form of authentication. Technical details of the vulnerability 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 (90132), Tenable (71936), SecurityFocus (BID 64746†), OSVDB (101806†) and Secunia (SA55882†). The entries VDB-11507, VDB-11712, VDB-11755 and VDB-11756 are pretty similar. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
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: 🔍
Physical: Partially
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-7271 (🔍)
GCVE (CVE): GCVE-0-2013-7271
GCVE (VulDB): GCVE-100-11767
OVAL: 🔍
X-Force: 90132
SecurityFocus: 64746 - Linux Kernel 'net/x25/af_x25.c' Local Information Disclosure Vulnerability
Secunia: 55882 - Linux Kernel "recvmsg()" and "recvfrom()" Information Disclosure Weakn, Not Critical
OSVDB: 101806
Vulnerability Center: 43305 - Linux Kernel before 3.12.4 Local Information Disclosure Vulnerability in x25_recvmsg(), Medium
See also: 🔍
Entry
Created: 01/09/2014 10:37Updated: 06/04/2021 18:56
Changes: 01/09/2014 10:37 (80), 05/21/2017 14:04 (6), 06/04/2021 18:56 (3)
Complete: 🔍
Committer: olku
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.