QEMU dev-smartcard-reader.c emulated_apdu_from_guest input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.5 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in QEMU. This impacts the function emulated_apdu_from_guest of the file usb/dev-smartcard-reader.c. Performing a manipulation results in input validation.
This vulnerability is identified as CVE-2017-5898. The attack is only possible with local access. There is not any exploit available.
It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in QEMU (Virtualization Software) (the affected version is unknown). It has been classified as problematic. This affects the function emulated_apdu_from_guest of the file usb/dev-smartcard-reader.c. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on availability. The summary by CVE is:
Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator support, allows local users to cause a denial of service (application crash) via a large Application Protocol Data Units (APDU) unit.
The bug was discovered 02/07/2017. The weakness was released 03/15/2017 by Li Qiang with 360.cn Inc. (oss-sec). It is possible to read the advisory at openwall.com. This vulnerability is uniquely identified as CVE-2017-5898 since 02/07/2017. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 14 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97271 (GLSA-201702-28 : QEMU: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169803 (SUSE Enterprise Linux Security Update for xen (SUSE-SU-2017:0647-1)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.qemu-project.org. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (97271) and SecurityFocus (BID 96112†). Entries connected to this vulnerability are available at VDB-98123, VDB-98146, VDB-98147 and VDB-98148. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
License
Website
- Product: https://www.qemu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.7VulDB Meta Temp Score: 4.6
VulDB Base Score: 4.0
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
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: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 97271
Nessus Name: GLSA-201702-28 : QEMU: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for qemu FEDORA-2017-62ac1230f7
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-project.org
Timeline
02/03/2017 🔍02/07/2017 🔍
02/07/2017 🔍
02/21/2017 🔍
02/21/2017 🔍
03/15/2017 🔍
03/15/2017 🔍
03/16/2017 🔍
09/08/2020 🔍
Sources
Product: qemu.orgAdvisory: openwall.com
Researcher: Li Qiang
Organization: 360.cn Inc.
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-5898 (🔍)
GCVE (CVE): GCVE-0-2017-5898
GCVE (VulDB): GCVE-100-98151
SecurityFocus: 96112 - QEMU 'hw/usb/dev-smartcard-reader.c' Integer Overflow Vulnerability
OSVDB: - CVE-2017-5898 - QEMU - Integer Overflow Issue
See also: 🔍
Entry
Created: 03/16/2017 11:15Updated: 09/08/2020 16:11
Changes: 03/16/2017 11:15 (79), 09/08/2020 16:11 (3)
Complete: 🔍
Cache ID: 216:C6C:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.