Capstone up to 3.0.4 Kernel Driver winkernel_mm.c cs_winkernel_malloc integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in Capstone up to 3.0.4. Affected by this issue is the function cs_winkernel_malloc of the file winkernel_mm.c of the component Kernel Driver. This manipulation causes integer overflow.
The identification of this vulnerability is CVE-2017-6952. It is possible to initiate the attack remotely. There is no exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as critical was found in Capstone up to 3.0.4. Affected by this vulnerability is the function cs_winkernel_malloc of the file winkernel_mm.c of the component Kernel Driver. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Integer overflow in the cs_winkernel_malloc function in winkernel_mm.c in Capstone 3.0.4 and earlier allows attackers to cause a denial of service (heap-based buffer overflow in a kernel driver) or possibly have unspecified other impact via a large value.
The bug was discovered 03/16/2017. The weakness was shared 03/16/2017 (GitHub Repository). The advisory is shared at github.com. This vulnerability is known as CVE-2017-6952 since 03/16/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 117371 (Fedora 27 : capstone (2018-236b486e01)), 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 277498 (Fedora Security Update for capstone (FEDORA-2018-83bc247d3b)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 years after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (117371) and SecurityFocus (BID 97323†). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.0VulDB Meta Temp Score: 7.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.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: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
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: 117371
Nessus Name: Fedora 27 : capstone (2018-236b486e01)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
03/16/2017 🔍03/16/2017 🔍
03/16/2017 🔍
03/16/2017 🔍
03/16/2017 🔍
03/17/2017 🔍
03/17/2017 🔍
09/09/2018 🔍
09/10/2018 🔍
Sources
Advisory: github.comStatus: Not defined
Confirmation: 🔍
CVE: CVE-2017-6952 (🔍)
GCVE (CVE): GCVE-0-2017-6952
GCVE (VulDB): GCVE-100-98209
SecurityFocus: 97323 - Capstone 'winkernel_mm.c' Integer Overflow Vulnerability
OSVDB: - CVE-2017-6952 - Capstone - Integer Overflow Issue
Entry
Created: 03/17/2017 07:52Changes: 03/17/2017 07:52 (79)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.