Linux Kernel up to 4.17.4 fs/inode.c inode_init_owner access control

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in Linux Kernel up to 4.17.4. Affected by this vulnerability is the function inode_init_owner of the file fs/inode.c. Performing a manipulation results in access control.
This vulnerability was named CVE-2018-13405. The attack needs to be approached locally. In addition, an exploit is available.
To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability classified as critical has been found in Linux Kernel up to 4.17.4 (Operating System). This affects the function inode_init_owner of the file fs/inode.c. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
The inode_init_owner function in fs/inode.c in the Linux kernel through 4.17.4 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group.
The bug was discovered 07/13/2018. The weakness was presented 07/06/2018 as confirmed git commit (GIT Repository). It is possible to read the advisory at git.kernel.org. This vulnerability is uniquely identified as CVE-2018-13405 since 07/06/2018. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details and a public exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 111329 (SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2018:2051-1)), 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 157849 (Oracle Enterprise Linux Security Update for kernel (ELSA-2018-3083)).
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 3 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (45033), Tenable (111329) and SecurityFocus (BID 104685†). See VDB-81153, VDB-87616, VDB-105605 and VDB-109511 for similar entries. Statistical analysis made it clear that VulDB provides the best quality 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.5VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
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: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 111329
Nessus Name: SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2018:2051-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
Exposure Time: 🔍
Patch: git.kernel.org
Timeline
07/06/2018 🔍07/06/2018 🔍
07/06/2018 🔍
07/06/2018 🔍
07/06/2018 🔍
07/13/2018 🔍
07/24/2018 🔍
07/25/2018 🔍
11/27/2024 🔍
Sources
Vendor: kernel.orgAdvisory: RHSA-2018:2948
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-13405 (🔍)
GCVE (CVE): GCVE-0-2018-13405
GCVE (VulDB): GCVE-100-120483
OVAL: 🔍
SecurityFocus: 104685 - Linux Kernel 'drivers/video/fbdev/uvesafb.c' Local Integer Overflow Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 07/06/2018 22:05Updated: 11/27/2024 04:24
Changes: 07/06/2018 22:05 (80), 05/07/2020 14:22 (8), 04/03/2023 19:53 (4), 11/27/2024 04:24 (14)
Complete: 🔍
Cache ID: 216:236:103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.