Multiple vulnerabilities in Yubico PIV Tool and YubiKey Smart Card Minidrive



Published: 2020-07-09
Risk Low
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-13131
CVE-2020-13132
CWE-ID CWE-125
CWE-119
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
libykpiv
Web applications / JS libraries

Yubico PIV Tool
Universal components / Libraries / Libraries used by multiple products

YubiKey Smart Card Minidriver
Hardware solutions / Drivers

Vendor Yubico

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU29615

Risk: Low

CVSSv3.1: 3.9 [CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-13131

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a local attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in the "ykpiv_util_generate_key()" function. An attacker with physical access can use a specially crafted PIV token, trigger out-of-bounds read error and read contents of memory on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

libykpiv: 2.0.0

Yubico PIV Tool: 0.0.1 - 2.0.0

YubiKey Smart Card Minidriver: 4.1.0.172

External links

http://www.yubico.com/support/security-advisories/ysa-2020-02


Q & A

Can this vulnerability be exploited remotely?

No. The attacker should have physical access to the system in order to successfully exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Buffer overflow

EUVDB-ID: #VU29616

Risk: Low

CVSSv3.1: 5 [CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-13132

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a local attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the passed in pointer is deallocated instead of the dynamically allocated one inside the "ykpiv_util_generate_key()" function. A local attacker can use a specially crafted token, trigger memory corruption and cause a denial of service condition on the target system.


Mitigation

Install updates from vendor's website.

Vulnerable software versions

libykpiv: 2.0.0

Yubico PIV Tool: 0.0.1 - 2.0.0

YubiKey Smart Card Minidriver: 4.1.0.172

External links

http://www.yubico.com/support/security-advisories/ysa-2020-02


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###