Fabrice Bellard QEMU 1.7.0 hpet.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.
5.2$0-$5k0.00

A vulnerability was found in Fabrice Bellard QEMU 1.7.0 (Virtualization Software) and classified as problematic. This issue affects some unknown processing of the file hpet.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. The summary by CVE is:

Buffer overflow in hw/timer/hpet.c in QEMU before 1.7.2 might allow remote attackers to execute arbitrary code via vectors related to the number of timers.

The weakness was released 02/18/2014 by Petr Matousek as Bug 1066347 as confirmed bug report (Bugzilla). It is possible to read the advisory at bugzilla.redhat.com. The identification of this vulnerability is CVE-2013-4527 since 06/12/2013. The exploitation is known to be easy. Attacking locally is a requirement. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The advisory points out:

hpet is a VARRAY with a uint8 size but static array of 32 and the index (num_timers ) into this array is not checked for sanity. 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 168984 (SUSE Enterprise Linux Security Update for xen (SUSE-SU-2016:1745-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 (93228), Tenable (74047), SecurityFocus (BID 67483†), OSVDB (106046†) and Vulnerability Center (SBV-45699†). Entries connected to this vulnerability are available at VDB-13023, VDB-13254, VDB-13266 and VDB-13267.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.2

VulDB Base Score: 5.9
VulDB Temp Score: 5.2
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: 🔍

Local: Yes
Remote: No

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 74047
Nessus Name: Fedora 20 : qemu-1.6.2-5.fc20 (2014-6288)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 80056
OpenVAS Name: Oracle Linux Local Check: ELSA-2014-0927
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: git.qemu.org

Timelineinfo

06/12/2013 🔍
02/18/2014 +251 days 🔍
02/18/2014 +0 days 🔍
05/16/2014 +87 days 🔍
05/19/2014 +3 days 🔍
05/22/2014 +3 days 🔍
08/07/2014 +77 days 🔍
11/04/2014 +89 days 🔍
06/20/2021 +2420 days 🔍

Sourcesinfo

Vendor: bellard.org

Advisory: Bug 1066347
Researcher: Petr Matousek
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-4527 (🔍)
OVAL: 🔍

X-Force: 93228 - QEMU hpet.c buffer overflow, Medium Risk
SecurityFocus: 67483 - QEMU Multiple Memory Corruption Vulnerabilities
OSVDB: 106046
Vulnerability Center: 45699 - Qemu <1.7.2 Remote Code Execution and DoS due to Buffer Overrun in hpet, High

See also: 🔍

Entryinfo

Created: 05/22/2014 09:54 AM
Updated: 06/20/2021 07:22 AM
Changes: 05/22/2014 09:54 AM (76), 06/03/2017 07:49 AM (7), 06/20/2021 07:22 AM (3)
Complete: 🔍
Cache ID: 18:36C:40

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!