Linux Kernel up to 3.5.6 xfrm_user Subsystem net/xfrm/xfrm_user.c dump_one_state null pointer dereference

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Linux Kernel up to 3.5.6. This impacts the function dump_one_state of the file net/xfrm/xfrm_user.c of the component xfrm_user Subsystem. The manipulation leads to null pointer dereference.
This vulnerability is uniquely identified as CVE-2013-1826. No exploit exists.
To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability was found in Linux Kernel up to 3.5.6 (Operating System) and classified as problematic. This issue affects the function dump_one_state of the file net/xfrm/xfrm_user.c of the component xfrm_user Subsystem. The manipulation with an unknown input leads to a null pointer dereference vulnerability. Using CWE to declare the problem leads to CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. Impacted is availability. The summary by CVE is:
The xfrm_state_netlink function in net/xfrm/xfrm_user.c in the Linux kernel before 3.5.7 does not properly handle error conditions in dump_one_state function calls, which allows local users to gain privileges or cause a denial of service (NULL pointer dereference and system crash) by leveraging the CAP_NET_ADMIN capability.
The weakness was disclosed 03/05/2013 by Mathias Krause as 2013/q1/589 as not defined mailinglist post (oss-sec). It is possible to read the advisory at seclists.org. The vendor was not involved in the public release. The identification of this vulnerability is CVE-2013-1826 since 02/19/2013. The exploitation is known to be easy. Attacking locally is a requirement. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 66204 (CentOS 6 : kernel (CESA-2013:0744)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195399 (Ubuntu Security Notification for Linux-ec2 Vulnerabilities (USN-1829-1)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at seclists.org.
The vulnerability is also documented in the databases at Tenable (66204), SecurityFocus (BID 58381†), OSVDB (90957†), Secunia (SA53053†) and Vulnerability Center (SBV-38661†). The entries VDB-7842, VDB-7908, VDB-7909 and VDB-7910 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
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: Null pointer dereferenceCWE: CWE-476 / CWE-404
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: 66204
Nessus Name: CentOS 6 : kernel (CESA-2013:0744)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 892668
OpenVAS Name: Debian Security Advisory DSA 2668-1 (linux-2.6 - privilege escalation/denial of service/information leak
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: seclists.org
Timeline
02/19/2013 🔍03/05/2013 🔍
03/07/2013 🔍
03/07/2013 🔍
03/08/2013 🔍
03/10/2013 🔍
03/22/2013 🔍
04/17/2013 🔍
05/06/2021 🔍
Sources
Vendor: kernel.orgAdvisory: 2013/q1/589
Researcher: Mathias Krause
Status: Not defined
Confirmation: 🔍
CVE: CVE-2013-1826 (🔍)
GCVE (CVE): GCVE-0-2013-1826
GCVE (VulDB): GCVE-100-7907
OVAL: 🔍
SecurityFocus: 58381 - Linux Kernel CVE-2013-1826 NULL Pointer Dereference Local Denial of Service Vulnerability
Secunia: 53053 - Red Hat update for kernel, Not Critical
OSVDB: 90957
Vulnerability Center: 38661 - Linux Kernel Local Arbitrary Code Execution due to a Flaw in the xfrm_state_netlink() Function, High
See also: 🔍
Entry
Created: 03/08/2013 14:07Updated: 05/06/2021 07:04
Changes: 03/08/2013 14:07 (82), 04/25/2017 11:39 (3), 05/06/2021 07:04 (3)
Complete: 🔍
Committer:
Cache ID: 216:F7B:103
No comments yet. Languages: en.
Please log in to comment.