Fabrice Bellard QEMU ui/vnc.c vnc_refresh_server_surface 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

Summaryinfo

A vulnerability labeled as problematic has been found in Fabrice Bellard QEMU. This issue affects the function vnc_refresh_server_surface of the file ui/vnc.c. Executing a manipulation can lead to memory corruption. This vulnerability is tracked as CVE-2015-5225. No exploit exists. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability classified as problematic was found in Fabrice Bellard QEMU (Virtualization Software) (the affected version unknown). This vulnerability affects the function vnc_refresh_server_surface of the file ui/vnc.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was disclosed 09/14/2015 by Qinghao Tang as confirmed git commit (GIT Repository). The advisory is shared for download at git.qemu.org. This vulnerability was named CVE-2015-5225 since 07/01/2015. The exploitation appears to be easy. The attack needs to be approached locally. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. Responsible for the vulnerability is the following code:

if ((x + 1) * cmp_bytes > min_stride) {
   _cmp_bytes = min_stride - x * cmp_bytes;

The vulnerability scanner Nessus provides a plugin with the ID 85774 (Fedora 23 : qemu-2.4.0-2.fc23 (2015-14783)), 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 157511 (Oracle Enterprise Linux Security Update for qemu-kvm (ELSA-2017-1856)).

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 even before and not after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

if ((x + 1) * cmp_bytes > line_bytes) {
   _cmp_bytes = line_bytes - x * cmp_bytes;

The vulnerability is also documented in the databases at X-Force (106397), Tenable (85774), SecurityFocus (BID 76506†) and Vulnerability Center (SBV-54401†). Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

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: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 85774
Nessus Name: Fedora 23 : qemu-2.4.0-2.fc23 (2015-14783)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703348
OpenVAS Name: Debian Security Advisory DSA 3348-1 (qemu - security update)
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.org

Timelineinfo

07/01/2015 🔍
08/22/2015 +51 days 🔍
08/22/2015 +0 days 🔍
09/04/2015 +13 days 🔍
09/04/2015 +0 days 🔍
09/14/2015 +10 days 🔍
09/18/2015 +4 days 🔍
11/06/2015 +49 days 🔍
11/14/2015 +8 days 🔍
06/15/2022 +2404 days 🔍

Sourcesinfo

Vendor: bellard.org

Advisory: RHSA-2015:1772
Researcher: Qinghao Tang
Status: Confirmed

CVE: CVE-2015-5225 (🔍)
GCVE (CVE): GCVE-0-2015-5225
GCVE (VulDB): GCVE-100-77752

OVAL: 🔍

X-Force: 106397 - QEMU vnc_refresh_server_surface() buffer overflow
SecurityFocus: 76506 - QEMU CVE-2015-5225 Heap Based Buffer Overflow Vulnerability
SecurityTracker: 1033547
Vulnerability Center: 54401 - QEMU before 2.4.0.1 Remote Code Execution via the VNC Display Driver, High

Entryinfo

Created: 09/18/2015 11:26
Updated: 06/15/2022 17:53
Changes: 09/18/2015 11:26 (70), 09/21/2018 10:01 (10), 06/15/2022 17:53 (5)
Complete: 🔍
Cache ID: 216:5A1:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!