Linux Kernel Keyrings Garbage Collector request_key input validation

CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.7 | $0-$5k | 0.00 |
A vulnerability, which was classified as problematic, has been found in Linux Kernel (Operating System) (affected version unknown). Affected by this issue is the function request_key
of the component Keyrings Garbage Collector. The manipulation with an unknown input leads to a input validation vulnerability. Using CWE to declare the problem leads to 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. Impacted is availability. CVE summarizes:
The key_gc_unused_keys function in security/keys/gc.c in the Linux kernel through 4.2.6 allows local users to cause a denial of service (OOPS) via crafted keyctl commands.
The weakness was released 10/20/2015 as Bug 1272371 as confirmed bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability is handled as CVE-2015-7872 since 10/20/2015. The exploitation is known to be easy. The attack may be launched remotely. The successful exploitation needs a simple authentication. There are known technical details, but no exploit is available. The following code is the reason for this vulnerability:
if (key->type->destroy)
The vulnerability scanner Nessus provides a plugin with the ID 86668 (openSUSE Security Update : the Linux Kernel (openSUSE-2015-686)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169069 (SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2016:2074-1)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. A possible mitigation has been published 7 days after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
if (test_bit(KEY_FLAG_INSTANTIATED, &key->flags) && !test_bit(KEY_FLAG_NEGATIVE, &key->flags) && key->type->destroy)
The vulnerability is also documented in the databases at X-Force (107408), Tenable (86668), SecurityFocus (BID 77544†) and Vulnerability Center (SBV-54364†). Entries connected to this vulnerability are available at VDB-75137, VDB-77323, VDB-78509 and VDB-79118.
Product
Type
Vendor
Name
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.5VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.5
VulDB Temp Score: 5.7
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: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 86668
Nessus Name: openSUSE Security Update : the Linux Kernel (openSUSE-2015-686)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703396
OpenVAS Name: Debian Security Advisory DSA 3396-1 (linux - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: git.kernel.org
Timeline
10/20/2015 🔍10/20/2015 🔍
10/22/2015 🔍
10/26/2015 🔍
10/29/2015 🔍
10/29/2015 🔍
11/10/2015 🔍
11/11/2015 🔍
11/16/2015 🔍
06/23/2022 🔍
Sources
Vendor: kernel.orgAdvisory: Bug 1272371
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2015-7872 (🔍)
OVAL: 🔍
X-Force: 107408 - Linux Kernel keyrings denial of service
SecurityFocus: 77544 - Linux Kernel CVE-2015-7872 Local Privilege Escalation Vulnerability
SecurityTracker: 1034472
Vulnerability Center: 54364 - Linux Kernel Local DoS due to a Flaw in Keyrings, Low
See also: 🔍
Entry
Created: 10/22/2015 10:02 AMUpdated: 06/23/2022 07:21 PM
Changes: 10/22/2015 10:02 AM (73), 09/21/2018 09:56 AM (12), 06/23/2022 07:21 PM (3)
Complete: 🔍
Cache ID: 18:05E:40
No comments yet. Languages: en.
Please log in to comment.