CVE-2017-1000410
Vulnerability Title: Linux Kernel L2CAP Config Request/Response Stack Information Leak
Description
The Linux kernel version 3.3-rc1 and later is affected by a vulnerability lies in the processing of incoming L2CAP commands - ConfigRequest, and ConfigResponse messages. This info leak is a result of uninitialized stack variables that may be returned to an attacker in their uninitialized state. By manipulating the code flows that precede the handling of these configuration messages, an attacker can also gain some control over which data will be held in the uninitialized stack variables. This can allow him to bypass KASLR, and stack canaries protection - as both pointers and stack canaries may be leaked in this manner. Combining this vulnerability (for example) with the previously disclosed RCE vulnerability in L2CAP configuration parsing (CVE-2017-1000251) may allow an attacker to exploit the RCE against kernels which were built with the above mitigations. These are the specifics of this vulnerability: In the function l2cap_parse_conf_rsp and in the function l2cap_parse_conf_req the following variable is declared without initialization: struct l2cap_conf_efs efs; In addition, when parsing input configuration parameters in both of these functions, the switch case for handling EFS elements may skip the memcpy call that will write to the efs variable: ... case L2CAP_CONF_EFS: if (olen == sizeof(efs)) memcpy(&efs, (void *)val, olen); ... The olen in the above if is attacker controlled, and regardless of that if, in both of these functions the efs variable would eventually be added to the outgoing configuration request that is being built: l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), (unsigned long) &efs); So by sending a configuration request, or response, that contains an L2CAP_CONF_EFS element, but with an element length that is not sizeof(efs) - the memcpy to the uninitialized efs variable can be avoided, and the uninitialized variable would be returned to the attacker (16 bytes).
INFO
Published Date :
Dec. 7, 2017, 7:29 p.m.
Last Modified :
April 8, 2019, 8:29 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-1000410 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2017-1000410
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-1000410
.
URL | Resource |
---|---|
http://seclists.org/oss-sec/2017/q4/357 | Issue Tracking Mailing List Patch Third Party Advisory |
http://www.securityfocus.com/bid/102101 | Issue Tracking Third Party Advisory VDB Entry |
https://access.redhat.com/errata/RHSA-2018:0654 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:0676 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:1062 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:1130 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:1170 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:1319 | Third Party Advisory |
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 | Third Party Advisory |
https://usn.ubuntu.com/3933-1/ | |
https://usn.ubuntu.com/3933-2/ | |
https://www.debian.org/security/2017/dsa-4073 | Third Party Advisory |
https://www.debian.org/security/2018/dsa-4082 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
List of Bluetooth BR/EDR/LE security resources
bluetooth bluetooth-low-energy bluetooth-security pentesting penetration-testing security awesome awesome-list ble bluetooth-hacking
Kernel Address Space Layout Derandomization (KASLD) - A collection of various techniques to infer the Linux kernel base virtual address as an unprivileged local user, for the purpose of bypassing Kernel Address Space Layout Randomization (KASLR).
kaslr linux linux-kernel linux-kaslr kernel-exploit kernel
C Shell Makefile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-1000410
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-1000410
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Apr. 08, 2019
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3933-1/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 03, 2019
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3933-2/ [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 12, 2019
Action Type Old Value New Value Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1062 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1062 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1170 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1170 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1319 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1319 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0654 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0654 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0676 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0676 Third Party Advisory Changed Reference Type https://www.debian.org/security/2018/dsa-4082 No Types Assigned https://www.debian.org/security/2018/dsa-4082 Third Party Advisory Changed Reference Type https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 No Types Assigned https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1130 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1130 Third Party Advisory Changed Reference Type https://www.debian.org/security/2017/dsa-4073 No Types Assigned https://www.debian.org/security/2017/dsa-4073 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (excluding) 3.2 up to (excluding) 4.15 *cpe:2.3:o:linux:linux_kernel:4.15:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.15:rc7:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 30, 2018
Action Type Old Value New Value Added Reference https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 [No Types Assigned] -
CVE Modified by [email protected]
May. 10, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:1319 [No Types Assigned] -
CVE Modified by [email protected]
Apr. 19, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:1170 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:1130 [No Types Assigned] -
CVE Modified by [email protected]
Apr. 12, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:1062 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:0676 [No Types Assigned] -
CVE Modified by [email protected]
Apr. 11, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:0654 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 11, 2018
Action Type Old Value New Value Added Reference https://www.debian.org/security/2018/dsa-4082 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 25, 2017
Action Type Old Value New Value Added Reference https://www.debian.org/security/2017/dsa-4073 [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 21, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type http://seclists.org/oss-sec/2017/q4/357 No Types Assigned http://seclists.org/oss-sec/2017/q4/357 Issue Tracking, Mailing List, Patch, Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/102101 No Types Assigned http://www.securityfocus.com/bid/102101 Issue Tracking, Third Party Advisory, VDB Entry Added CWE CWE-200 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 -
CVE Modified by [email protected]
Dec. 09, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/102101 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-1000410
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-1000410
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.42 }} -0.17%
score
0.73565
percentile