Fabrice Bellard QEMU 1.6.2 bus.c memory corruption

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

Summaryinfo

A vulnerability was found in Fabrice Bellard QEMU 1.6.2 and classified as critical. This impacts an unknown function of the file bus.c. Such manipulation leads to memory corruption. This vulnerability is referenced as CVE-2014-3461. No exploit is available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability was found in Fabrice Bellard QEMU 1.6.2 (Virtualization Software). It has been rated as critical. Affected by this issue is an unknown code of the file bus.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. CVE summarizes:

hw/usb/bus.c in QEMU 1.6.2 allows remote attackers to execute arbitrary code via crafted savevm data, which triggers a heap-based buffer overflow, related to "USB post load checks."

The weakness was published 05/13/2014 by Prasad J Pandit as Qemu: usb: fix up post load checks as not defined mailinglist post (oss-sec). The advisory is shared for download at seclists.org. This vulnerability is handled as CVE-2014-3461 since 05/13/2014. The exploitation is known to be difficult. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The following code is the reason for this vulnerability:

dev->setup_index >= sizeof(dev->data_buf) ||
dev->setup_len >= sizeof(dev->data_buf))
The advisory points out:
Correct post load checks: 1. dev->setup_len == sizeof(dev->data_buf) seems fine, no need to fail migration 2. When state is DATA, passing index > len will cause memcpy with negative length, resulting in heap overflow

The vulnerability scanner Nessus provides a plugin with the ID 74474 (CentOS 6 : qemu-kvm (CESA-2014:0743)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 123337 (Fedora Security Update for qemu (FEDORA-2015-1886)). The advisory illustrates:

An user able to alter the saved VM data(either on the disk or over the wire during migration) could use this flaw to to corrupt QEMU process memory on the (destination) host, which could potentially result in arbitrary code execution on the host with the privileges of the QEMU process.

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

dev->setup_index > dev->setup_len ||
dev->setup_len > sizeof(dev->data_buf))

The vulnerability is also documented in the databases at X-Force (93153), Tenable (74474), SecurityFocus (BID 67392†) and Vulnerability Center (SBV-44967†). Similar entries are available at VDB-12735 and VDB-13023. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 74474
Nessus Name: CentOS 6 : qemu-kvm (CESA-2014:0743)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 802452
OpenVAS Name: Gentoo Linux Local Check: https://security.gentoo.org/glsa/201408-17
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

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

Patch: article.gmane.org

Timelineinfo

05/12/2014 🔍
05/12/2014 +0 days 🔍
05/13/2014 +1 days 🔍
05/13/2014 +0 days 🔍
05/13/2014 +0 days 🔍
05/16/2014 +3 days 🔍
06/12/2014 +27 days 🔍
11/04/2014 +145 days 🔍
06/19/2021 +2419 days 🔍

Sourcesinfo

Vendor: bellard.org

Advisory: Qemu: usb: fix up post load checks
Researcher: Prasad J Pandit
Status: Not defined

CVE: CVE-2014-3461 (🔍)
GCVE (CVE): GCVE-0-2014-3461
GCVE (VulDB): GCVE-100-13220

OVAL: 🔍

X-Force: 93153 - QEMU bus.c buffer overflow, Medium Risk
SecurityFocus: 67392 - QEMU 'hw/usb/bus.c' Heap Based Buffer Overflow Vulnerability
Vulnerability Center: 44967 - QEMU <1.6.2 Remote Code Execution and DoS due to Up Post Load Checks in USB, Medium

See also: 🔍

Entryinfo

Created: 05/16/2014 16:24
Updated: 06/19/2021 15:55
Changes: 05/16/2014 16:24 (77), 05/30/2017 11:12 (6), 06/19/2021 15:55 (3)
Complete: 🔍
Cache ID: 216:818:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!