Linux Kernel net/sctp/sctp_diag.c Memory out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.8$0-$5k0.00

Summaryinfo

A vulnerability has been found in Linux Kernel and classified as problematic. Affected is the function inet_diag_msg_sctpaddrs_fill/inet_diag_msg_sctpladdrs_fill/sctp_get_sctp_info of the file net/sctp/sctp_diag.c. The manipulation leads to out-of-bounds (Memory). This vulnerability is documented as CVE-2017-7558. The attack can be initiated remotely. Additionally, an exploit exists. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability was found in Linux Kernel (Operating System) (the affected version unknown). It has been rated as problematic. This issue affects the function inet_diag_msg_sctpaddrs_fill/inet_diag_msg_sctpladdrs_fill/sctp_get_sctp_info of the file net/sctp/sctp_diag.c. The manipulation with an unknown input leads to a out-of-bounds vulnerability (Memory). Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality.

The bug was discovered 08/24/2017. The weakness was released 08/23/2017 by Stefano Brivio (Mailing List). It is possible to read the advisory at marc.info. The identification of this vulnerability is CVE-2017-7558 since 04/05/2017. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The following code is the reason for this vulnerability:

memcpy(info, &laddr->a, addrlen);

The exploit is available at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 104090 (RHEL 6 : MRG (RHSA-2017:2918)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat 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).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at marc.info. A possible mitigation has been published 3 months after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

memcpy(info, &laddr->a, sizeof(laddr->a));

The vulnerability is also documented in the databases at Exploit-DB (45919), Tenable (104090), SecurityFocus (BID 100466†) and SecurityTracker (ID 1039221†). Entries connected to this vulnerability are available at VDB-102802, VDB-103034, VDB-104449 and VDB-104864. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.0
VulDB Meta Temp Score: 5.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CNA Base Score: 5.1
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Name: Memory
Class: Out-of-bounds / Memory
CWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 104090
Nessus Name: RHEL 6 : MRG (RHSA-2017:2918)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 53754
OpenVAS Name: Debian Security Advisory DSA 3981-1 (linux - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: marc.info

Timelineinfo

04/05/2017 🔍
08/23/2017 +140 days 🔍
08/24/2017 +1 days 🔍
08/24/2017 +0 days 🔍
08/25/2017 +1 days 🔍
10/19/2017 +55 days 🔍
10/23/2017 +4 days 🔍
07/26/2018 +275 days 🔍
12/16/2022 +1604 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: RHSA-2017:2918
Researcher: Stefano Brivio
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-7558 (🔍)
GCVE (CVE): GCVE-0-2017-7558
GCVE (VulDB): GCVE-100-105731

OVAL: 🔍

SecurityFocus: 100466
SecurityTracker: 1039221

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 08/25/2017 22:13
Updated: 12/16/2022 15:23
Changes: 08/25/2017 22:13 (78), 11/10/2019 10:29 (13), 01/09/2021 20:34 (2), 01/09/2021 20:39 (1), 12/16/2022 15:17 (3), 12/16/2022 15:23 (11)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!