Linux Kernel up to 4.8.13 net/core/sock.c sock_setsockopt sk_sndbuf/sk_rcvbuf memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 4.8.13. It has been classified as problematic. This affects the function sock_setsockopt of the file net/core/sock.c. Performing a manipulation of the argument sk_sndbuf/sk_rcvbuf results in memory corruption.
This vulnerability is identified as CVE-2016-9793. The attack is only possible with local access. Additionally, an exploit exists.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as problematic, was found in Linux Kernel up to 4.8.13 (Operating System). This affects the function sock_setsockopt of the file net/core/sock.c. The manipulation of the argument sk_sndbuf/sk_rcvbuf with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows local users to cause a denial of service (memory corruption and system crash) or possibly have unspecified other impact by leveraging the CAP_NET_ADMIN capability for a crafted setsockopt system call with the (1) SO_SNDBUFFORCE or (2) SO_RCVBUFFORCE option.
The bug was discovered 12/28/2016. The weakness was released 12/28/2016 (Website). The advisory is shared at git.kernel.org. This vulnerability is uniquely identified as CVE-2016-9793 since 12/02/2016. An attack has to be approached locally. The requirement for exploitation is a authentication. Technical details and a public exploit are known.
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 95727 (Fedora 24 : kernel (2016-5cb5b4082d)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 276295 (Fedora Security Update for kernel (FEDORA-2016-107f03cc00)).
Upgrading to version 4.8.14 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (41995), Tenable (95727) and SecurityFocus (BID 94655†). Entry connected to this vulnerability is available at VDB-94695. 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: Memory corruptionCWE: CWE-119
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: 95727
Nessus Name: Fedora 24 : kernel (2016-5cb5b4082d)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 901079
OpenVAS Name: Fedora Update for kernel FEDORA-2016-107f03cc00
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 4.8.14
Patch: git.kernel.org
Timeline
12/02/2016 🔍12/05/2016 🔍
12/12/2016 🔍
12/13/2016 🔍
12/28/2016 🔍
12/28/2016 🔍
12/28/2016 🔍
12/28/2016 🔍
11/06/2024 🔍
Sources
Vendor: kernel.orgAdvisory: FEDORA-2016-5cb5b4082d
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-9793 (🔍)
GCVE (CVE): GCVE-0-2016-9793
GCVE (VulDB): GCVE-100-94701
SecurityFocus: 94655 - Linux Kernel 'net/core/sock.c' Multiple Local Memory Corruption Vulnerabilities
SecurityTracker: 1037968
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 12/28/2016 16:11Updated: 11/06/2024 17:51
Changes: 12/28/2016 16:11 (77), 07/20/2019 09:30 (9), 10/12/2022 20:26 (5), 10/12/2022 20:33 (1), 11/06/2024 17:51 (16)
Complete: 🔍
Cache ID: 216:0FD:103
No comments yet. Languages: en.
Please log in to comment.