QEMU MegaRAID Firmware Interface hw/scsi/megasas.c megasas_handle_dcmd resource management

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.
4.7$0-$5k0.00

Summaryinfo

A vulnerability was found in QEMU. It has been classified as problematic. This issue affects the function megasas_handle_dcmd of the file hw/scsi/megasas.c of the component MegaRAID Firmware Interface. The manipulation leads to resource management. This vulnerability is documented as CVE-2017-5856. The attack needs to be performed locally. There is not any exploit available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in QEMU (Virtualization Software) (unknown version). This issue affects the function megasas_handle_dcmd of the file hw/scsi/megasas.c of the component MegaRAID Firmware Interface. The manipulation with an unknown input leads to a resource management vulnerability. Using CWE to declare the problem leads to CWE-399. Impacted is availability. The summary by CVE is:

Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (host memory consumption) via MegaRAID Firmware Interface (MFI) commands with the sglist size set to a value over 2 Gb.

The bug was discovered 02/01/2017. The weakness was released 03/16/2017 by Li Qiang with 360.cn Inc. (oss-sec). The advisory is shared at openwall.com. The identification of this vulnerability is CVE-2017-5856 since 02/01/2017. An attack has to be approached locally. The requirement for exploitation is a simple authentication. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 20 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97271 (GLSA-201702-28 : QEMU: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169803 (SUSE Enterprise Linux Security Update for xen (SUSE-SU-2017:0647-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.qemu-project.org. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (97271) and SecurityFocus (BID 95999†). Entries connected to this vulnerability are available at VDB-98151, VDB-98123, VDB-98146 and VDB-98147. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.9
VulDB Meta Temp Score: 4.8

VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Resource management
CWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 97271
Nessus Name: GLSA-201702-28 : QEMU: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for qemu FEDORA-2017-62ac1230f7
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: git.qemu-project.org

Timelineinfo

02/01/2017 🔍
02/01/2017 +0 days 🔍
02/01/2017 +0 days 🔍
02/21/2017 +20 days 🔍
02/21/2017 +0 days 🔍
03/16/2017 +23 days 🔍
03/16/2017 +0 days 🔍
03/17/2017 +1 days 🔍
09/09/2020 +1272 days 🔍

Sourcesinfo

Product: qemu.org

Advisory: openwall.com
Researcher: Li Qiang
Organization: 360.cn Inc.
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-5856 (🔍)
GCVE (CVE): GCVE-0-2017-5856
GCVE (VulDB): GCVE-100-98201
SecurityFocus: 95999 - QEMU 'hw/scsi/megasas.c' Denial of Service Vulnerability
OSVDB: - CVE-2017-5856 - QEMU - Denial of Service Issue

See also: 🔍

Entryinfo

Created: 03/17/2017 07:52
Updated: 09/09/2020 14:15
Changes: 03/17/2017 07:52 (76), 09/09/2020 14:15 (7)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!