Linux Kernel up to 3.5.6 TCP tcp_set_keepalive access control

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 3.5.6. It has been declared as problematic. This affects the function tcp_set_keepalive of the component TCP Handler. The manipulation results in access control.
This vulnerability is reported as CVE-2012-6657. No exploit exists.
It is best practice to apply a patch to resolve this issue.
Details
A vulnerability was found in Linux Kernel up to 3.5.6 (Operating System). It has been classified as critical. Affected is the function tcp_set_keepalive of the component TCP Handler. 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 availability.
The issue has been introduced in 07/21/2012. The weakness was disclosed 09/15/2014 by Prasad J Pandit with Red Hat as confirmed mailinglist post (oss-sec). The advisory is available at seclists.org. This vulnerability is traded as CVE-2012-6657 since 09/15/2014. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1068 by the MITRE ATT&CK project. The reason for this vulnerability is this part of code:
if (sk->sk_protocol == IPPROTO_TCP)
The vulnerability was handled as a non-public zero-day exploit for at least 786 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 80070 (Oracle Linux 6 : kernel (ELSA-2014-1997)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 167678 (SUSE Enterprise Linux Security update for Linux kernel (SUSE-SU-2015:0652-1)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The vulnerability will be addressed with the following lines of code:
if (sk->sk_protocol == IPPROTO_TCP &&
sk->sk_type == SOCK_STREAM)The vulnerability is also documented in the databases at X-Force (95962), Tenable (80070), SecurityFocus (BID 69803†) and Vulnerability Center (SBV-46109†). Further details are available at bugzilla.redhat.com. The entries VDB-10840, VDB-12213, VDB-13142 and VDB-67533 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 7.5VulDB Meta Temp Score: 6.5
VulDB Base Score: 7.5
VulDB Temp Score: 6.5
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: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 80070
Nessus Name: Oracle Linux 6 : kernel (ELSA-2014-1997)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 80056
OpenVAS Name: Oracle Linux Local Check: ELSA-2014-3108
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 3e10986d1d698140747fcfc2761ec9cb64c1d582
Timeline
07/21/2012 🔍09/15/2014 🔍
09/15/2014 🔍
09/15/2014 🔍
09/15/2014 🔍
09/16/2014 🔍
09/18/2014 🔍
09/28/2014 🔍
12/17/2014 🔍
02/16/2022 🔍
Sources
Vendor: kernel.orgAdvisory: RHSA-2014:1997
Researcher: Prasad J Pandit
Organization: Red Hat
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-6657 (🔍)
GCVE (CVE): GCVE-0-2012-6657
GCVE (VulDB): GCVE-100-67542
OVAL: 🔍
X-Force: 95962 - Linux Kernel tcp_set_keepalive() denial of service, High Risk
SecurityFocus: 69803 - Linux Kernel 'tcp_set_keepalive()' Function Denial of Service Vulnerability
Vulnerability Center: 46109 - Linux Kernel Prior to 3.6 Local Denial of Service via a setsockopt Call, Medium
Misc.: 🔍
See also: 🔍
Entry
Created: 09/18/2014 23:26Updated: 02/16/2022 02:58
Changes: 09/18/2014 23:26 (82), 06/06/2017 08:27 (5), 02/16/2022 02:49 (5), 02/16/2022 02:58 (2)
Complete: 🔍
Cache ID: 216:FE6:103
No comments yet. Languages: en.
Please log in to comment.