Linux Kernel xfs_ioctl32.c xfs_attrlist_by_handle memory corruption

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

Summaryinfo

A vulnerability was found in Linux Kernel and classified as problematic. Impacted is the function xfs_attrlist_by_handle of the file xfs_ioctl.c/xfs_ioctl32.c. Executing a manipulation can lead to memory corruption. This vulnerability is tracked as CVE-2013-6382. No exploit exists. It is best practice to apply a patch to resolve this issue.

Detailsinfo

A vulnerability was found in Linux Kernel (Operating System) (the affected version is unknown). It has been declared as critical. This vulnerability affects the function xfs_attrlist_by_handle of the file xfs_ioctl.c/xfs_ioctl32.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

Multiple buffer underflows in the XFS implementation in the Linux kernel through 3.12.1 allow local users to cause a denial of service (memory corruption) or possibly have unspecified other impact by leveraging the CAP_SYS_ADMIN capability for a (1) XFS_IOC_ATTRLIST_BY_HANDLE or (2) XFS_IOC_ATTRLIST_BY_HANDLE_32 ioctl call with a crafted length value, related to the xfs_attrlist_by_handle function in fs/xfs/xfs_ioctl.c and the xfs_compat_attrlist_by_handle function in fs/xfs/xfs_ioctl32.c.

The weakness was disclosed 11/05/2013 as msg100319 as confirmed bulletin (Website). The advisory is available at spinics.net. This vulnerability was named CVE-2013-6382 since 11/04/2013. The exploitation appears to be difficult. Local access is required to approach this attack. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 71398 (Amazon Linux AMI : kernel (ALAS-2013-258)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 167228 (SUSE Enterprise Linux Security Update for Linux Kernel (SUSE-SU-2014:0807-1)).

Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (71398), SecurityFocus (BID 63889†), OSVDB (100241†) and Vulnerability Center (SBV-42368†). The entries VDB-11507, VDB-11755, VDB-12214 and VDB-12411 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.3
VulDB Meta Temp Score: 8.9

VulDB Base Score: 9.3
VulDB Temp Score: 8.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 71398
Nessus Name: Amazon Linux AMI : kernel (ALAS-2013-258)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 867387
OpenVAS Name: Fedora Update for kernel FEDORA-2013-22531
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: 🔍

Timelineinfo

11/04/2013 🔍
11/05/2013 +1 days 🔍
11/05/2013 +0 days 🔍
11/05/2013 +0 days 🔍
11/26/2013 +21 days 🔍
11/26/2013 +0 days 🔍
11/28/2013 +2 days 🔍
12/14/2013 +16 days 🔍
06/02/2021 +2727 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: msg100319
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-6382 (🔍)
GCVE (CVE): GCVE-0-2013-6382
GCVE (VulDB): GCVE-100-11302

OVAL: 🔍

SecurityFocus: 63889
OSVDB: 100241
Vulnerability Center: 42368 - Linux Kernel Local DoS Vulnerability Related to the xfs_attrlist_by_handle Function, Medium

See also: 🔍

Entryinfo

Created: 11/28/2013 10:59
Updated: 06/02/2021 14:26
Changes: 11/28/2013 10:59 (74), 05/15/2017 11:59 (2), 06/02/2021 14:26 (3)
Complete: 🔍
Committer: olku
Cache ID: 216:E48:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!