Linux Kernel up to 4.12.3 fs/f2fs/super.c sanity_check_ckpt blkoff/segno array index
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.4 | $0-$5k | 0.00 |
A vulnerability classified as problematic was found in Linux Kernel up to 4.12.3 (Operating System). Affected by this vulnerability is the function sanity_check_ckpt
of the file fs/f2fs/super.c. The manipulation of the argument blkoff/segno
with an unknown input leads to a array index vulnerability. The CWE definition for the vulnerability is CWE-129. The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The sanity_check_ckpt function in fs/f2fs/super.c in the Linux kernel before 4.12.4 does not validate the blkoff and segno arrays, which allows local users to gain privileges via unspecified vectors.
The bug was discovered 06/28/2017. The weakness was disclosed 08/19/2017 by SegFault with Trend Micro as confirmed git commit (GIT Repository). It is possible to read the advisory at git.kernel.org. This vulnerability is known as CVE-2017-10663 since 06/28/2017. Attacking locally is a requirement. The requirement for exploitation is a single authentication. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 52 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 103323 (Ubuntu 16.04 LTS : linux, linux-aws, linux-gke, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities (USN-3420-1) (BlueBorne)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 351447 (Amazon Linux Security Advisory for kernel: ALAC2012-2018-013).
Upgrading to version 4.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 patching the affected component. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (103323). The entries 102802, 103034, 104449 and 104864 are pretty similar.
Product
Type
Vendor
Name
Version
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: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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: Array indexCWE: CWE-129 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
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: 103323
Nessus Name: Ubuntu 16.04 LTS : linux, linux-aws, linux-gke, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities (USN-3420-1) (BlueBorne)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 841810
OpenVAS Name: Ubuntu Update for linux-lts-xenial USN-3420-2
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: 🔍
Upgrade: Kernel 4.12.4
Patch: git.kernel.org
Timeline
06/28/2017 🔍06/28/2017 🔍
08/08/2017 🔍
08/19/2017 🔍
08/19/2017 🔍
08/20/2017 🔍
09/18/2017 🔍
09/19/2017 🔍
12/16/2022 🔍
Sources
Vendor: kernel.orgAdvisory: USN-3420-1
Researcher: Tong Lin (SegFault)
Organization: Trend Micro
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-10663 (🔍)
SecurityFocus: 100215 - Google Android Kernel Components Multiple Privilege Escalation Vulnerabilities
See also: 🔍
Entry
Created: 08/20/2017 21:09Updated: 12/16/2022 08:56
Changes: 08/20/2017 21:09 (76), 11/09/2019 09:14 (13), 01/09/2021 19:06 (3), 12/16/2022 08:54 (3), 12/16/2022 08:56 (1)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.