libcacard up to 2.5.2 card_7816.c vcard_apdu_new resource management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in libcacard up to 2.5.2. This impacts the function vcard_apdu_new of the file card_7816.c. Such manipulation leads to resource management.
This vulnerability is uniquely identified as CVE-2017-6414. Local access is required to approach this attack. No exploit exists.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in libcacard up to 2.5.2. It has been rated as problematic. Affected by this issue is the function vcard_apdu_new of the file card_7816.c. The manipulation with an unknown input leads to a resource management vulnerability. Using CWE to declare the problem leads to CWE-399. Impacted is availability. CVE summarizes:
Memory leak in the vcard_apdu_new function in card_7816.c in libcacard before 2.5.3 allows local guest OS users to cause a denial of service (host memory consumption) via vectors related to allocating a new APDU object.
The bug was discovered 03/01/2017. The weakness was disclosed 03/15/2017 by Li Qiang with 360.cn Inc. (oss-sec). The advisory is available at openwall.com. This vulnerability is handled as CVE-2017-6414 since 03/01/2017. 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 vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97535 (Fedora 25 : 3:libcacard (2017-5a6ed9d326)), 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 169868 (SUSE Enterprise Linux Security Update for xen (SUSE-SU-2017:1081-1)).
Upgrading to version 2.5.3 eliminates this vulnerability. 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 (97535) and SecurityFocus (BID 96541†). The entries VDB-98170 and VDB-122280 are pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.2VulDB Meta Temp Score: 5.1
VulDB Base Score: 4.0
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.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: Resource managementCWE: CWE-399 / CWE-404
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: 97535
Nessus Name: Fedora 25 : 3:libcacard (2017-5a6ed9d326)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for libcacard FEDORA-2017-5a6ed9d326
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libcacard 2.5.3
Timeline
03/01/2017 🔍03/01/2017 🔍
03/01/2017 🔍
03/03/2017 🔍
03/06/2017 🔍
03/15/2017 🔍
03/15/2017 🔍
03/16/2017 🔍
09/09/2020 🔍
Sources
Advisory: openwall.comResearcher: Li Qiang
Organization: 360.cn Inc.
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-6414 (🔍)
GCVE (CVE): GCVE-0-2017-6414
GCVE (VulDB): GCVE-100-98162
SecurityFocus: 96541 - QEMU '/src/card_7816.c' Denial of Service Vulnerability
OSVDB: - CVE-2017-6414 - libcacard - Denial of Service Issue
See also: 🔍
Entry
Created: 03/16/2017 13:43Updated: 09/09/2020 09:39
Changes: 03/16/2017 13:43 (79), 09/09/2020 09:39 (3)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.