ZeroHour
Infosecurity Magazinepublished ()ingested Alessandro Mascellino

TPM 2.0 Library Vulnerabilities May Affect Billions of IoT Devices

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2023-1018
An out-of-bounds read vulnerability exists in TPM2.0's Module Library allowing a 2-byte read past the end of a TPM2.0 command in the CryptParameterDecryption ro

An out-of-bounds read vulnerability exists in TPM2.0's Module Library allowing a 2-byte read past the end of a TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can read or access sensitive data stored in the TPM.

NVD description · AI analysis pending
5.56%
  • trustedcomputinggroup trusted platform module
  • trustedcomputinggroup windows 10 1507
  • trustedcomputinggroup windows 10 1607
  • +1 more
Full article354 words · extracted from infosecurity-magazine.com · click to collapse

Two separate vulnerabilities have been found in the Trusted Platform Module (TPM) 2.0 that could lead to information disclosure or escalation of privilege.

At a basic level, TPM is a hardware-based technology providing secure cryptographic functions to the operating systems on modern computers, making them resistant to tampering.

Affecting Revisions 1.59, 1.38 and 1.16 of the module’s reference implementation code, the flaws were first discovered by security researchers at Quarks Lab in November. Earlier this week, the company concluded a coordinated disclosure process with the CERT Coordination Center and Trusted Computing Group (TCG). The latter company is the publisher of the TPM 2.0 Library documentation.

The disclosed flaws occurred when handling malicious TPM 2.0 commands with encrypted parameters. Both of them are in the `CryptParameterDecryption` function, which is defined in the TCG document.

The first of the vulnerabilities (CVE-2023-1018) is an out-of-bound read bug, while the second one (tracked CVE-2023- 1017) is defined as an out-of-bounds write.

“These vulnerabilities can be triggered from user-mode applications by sending malicious commands to a TPM 2.0 whose firmware is based on an affected TCG reference implementation,” TCG wrote. “Additional instances may be identified because of the TPM Work Group ongoing analysis and may result in a larger scope of potential vulnerabilities.”

According to the CERT advisory, the flaws would enable read-only access to sensitive data (CVE-2023-1018) or overwriting (CVE-2023- 1017) of protected data only available to the TPM, such as cryptographic keys.

Before the public disclosure, TCG updated their Errata for TPM2.0 Library Specification with guidelines on how to remediate the flaws.

“To ensure the security of their systems, users should apply any updates provided by hardware and software manufacturers through their supply chain as soon as possible,” CERT wrote.

“Updating the firmware of TPM chips may be necessary, and this can be done through an OS vendor or the original equipment manufacturer (OEM). In some cases, the OEM may require resetting the TPM to its original factory default values as part of the update process.”

More information about hardware security is available in this piece by Infosecurity deputy editor James Coker.

Text extracted automatically; images, tables and formatting may be missing. Original: https://www.infosecurity-magazine.com/news/tpm-20-library-flaw-affect/