Fabrice Bellard QEMU 1.7.0 State Loader cpu_post_load cpreg_vmstate_indexes memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in Fabrice Bellard QEMU 1.7.0. This affects the function cpu_post_load of the component State Loader. Such manipulation of the argument cpreg_vmstate_indexes leads to memory corruption.
This vulnerability is traded as CVE-2013-4531. There is no exploit available.
A patch should be applied to remediate this issue.
Details
A vulnerability was found in Fabrice Bellard QEMU 1.7.0 (Virtualization Software). It has been rated as problematic. Affected by this issue is the function cpu_post_load of the component State Loader. The manipulation of the argument cpreg_vmstate_indexes 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:
Buffer overflow in target-arm/machine.c in QEMU before 1.7.2 allows remote attackers to cause a denial of service and possibly execute arbitrary code via a negative value in cpreg_vmstate_array_len in a savevm image.
The weakness was shared 02/18/2014 by Petr Matousek as Bug 1066357 as confirmed bug report (Bugzilla). The advisory is available at bugzilla.redhat.com. This vulnerability is handled as CVE-2013-4531 since 06/12/2013. The exploitation is known to be easy. Local access is required to approach this attack. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit. The advisory points out:
cpreg_vmstate_indexes is a VARRAY_INT32. A negative value for cpreg_vmstate_array_len will cause a buffer overflow. An user able to alter the savevm 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.
The vulnerability scanner Nessus provides a plugin with the ID 74047 (Fedora 20 : qemu-1.6.2-5.fc20 (2014-6288)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195610 (Ubuntu Security Notification for Qemu, Qemu-kvm Vulnerabilities (USN-2342-1)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.qemu.org. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (93231), Tenable (74047), SecurityFocus (BID 67483†), OSVDB (106044†) and Vulnerability Center (SBV-47093†). The entries VDB-13023, VDB-13254, VDB-13266 and VDB-13267 are related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://bellard.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.9
VulDB Temp Score: 5.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 74047
Nessus Name: Fedora 20 : qemu-1.6.2-5.fc20 (2014-6288)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for qemu FEDORA-2014-6288
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: git.qemu.org
Timeline
06/12/2013 🔍02/18/2014 🔍
02/18/2014 🔍
05/16/2014 🔍
05/19/2014 🔍
05/22/2014 🔍
11/04/2014 🔍
11/17/2014 🔍
06/20/2021 🔍
Sources
Vendor: bellard.orgAdvisory: Bug 1066357
Researcher: Petr Matousek
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2013-4531 (🔍)
GCVE (CVE): GCVE-0-2013-4531
GCVE (VulDB): GCVE-100-13274
OVAL: 🔍
X-Force: 93231 - QEMU cpu_post_load() buffer overflow, Medium Risk
SecurityFocus: 67483 - QEMU Multiple Memory Corruption Vulnerabilities
OSVDB: 106044
Vulnerability Center: 47093 - QEMU before 1.7.2 Remote DoS and Code Execution in cpreg_vmstate_array_len - CVE-2013-4531, High
See also: 🔍
Entry
Created: 05/22/2014 11:19Updated: 06/20/2021 07:39
Changes: 05/22/2014 11:19 (78), 06/12/2017 08:17 (7), 06/20/2021 07:39 (3)
Complete: 🔍
Cache ID: 216:396:103
No comments yet. Languages: en.
Please log in to comment.