Fabrice Bellard QEMU ui/vnc.c vnc_refresh_server_surface memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
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: No
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: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: git.qemu.org
Timeline
07/01/2015 🔍08/22/2015 🔍
08/22/2015 🔍
09/04/2015 🔍
09/04/2015 🔍
09/14/2015 🔍
09/18/2015 🔍
11/06/2015 🔍
11/14/2015 🔍
06/15/2022 🔍
Sources
Vendor: bellard.orgAdvisory: 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
Entry
Created: 09/18/2015 11:26Updated: 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
No comments yet. Languages: en.
Please log in to comment.