找回密码
 加入我们
搜索
      
查看: 3819|回复: 7

[安全相关] TPM 2.0模块被曝存在越界写入/读取风险

[复制链接]
发表于 2023-3-10 19:38 | 显示全部楼层 |阅读模式
来源: The Hacker News
原英文标题: <New Flaws in TPM 2.0 Library Pose Threat to Billions of IoT and Enterprise Devices>



A pair of serious security defects has been disclosed in the Trusted Platform Module (TPM) 2.0 reference library specification that could potentially lead to information disclosure or privilege escalation.

One of the vulnerabilities, CVE-2023-1017, concerns an out-of-bounds write, while the other, CVE-2023-1018, is described as an out-of-bounds read. Credited with discovering and reporting the issues in November 2022 is cybersecurity company Quarkslab.

"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," the Trusted Computing Group (TCG) said in an advisory.

Large tech vendors, organizations using enterprise computers, servers, IoT devices, and embedded systems that include a TPM can be impacted by the flaws, Quarkslab noted, adding they "could affect billions of devices."

TPM is a hardware-based solution (i.e., a crypto-processor) that's designed to provide secure cryptographic functions and physical security mechanisms to resist tampering efforts.

"The most common TPM functions are used for system integrity measurements and for key creation and use," Microsoft says in its documentation. "During the boot process of a system, the boot code that is loaded (including firmware and the operating system components) can be measured and recorded in the TPM."

"The integrity measurements can be used as evidence for how a system started and to make sure that a TPM-based key was used only when the correct software was used to boot the system."

The TCG consortium noted that the shortcomings are the result of a lack of necessary length checks, resulting in buffer overflows that could pave the way for local information disclosure or escalation of privileges.

Users are recommended to apply the updates released by TCG as well as other vendors to address the flaws and mitigate supply chain risks.

"Users in high-assurance computing environments should consider using TPM Remote Attestation to detect any changes to devices and ensure their TPM is tamper proofed," the CERT Coordination Center (CERT/CC) said in an alert.



可信平台模块(TPM)2.0参考库规范中披露了一对严重的安全缺陷,有可能导致信息泄露或权限升级。

其中一个漏洞,CVE-2023-1017,涉及越界写入,而另一个,CVE-2023-1018,被描述为越界读取。在2022年11月发现并报告这些问题的是网络安全公司Quarkslab。

"可信计算小组(TCG)在一份公告中说:"这些漏洞可以通过向TPM 2.0发送恶意命令从用户模式的应用程序中触发,而TPM 2.0的固件是基于受影响的TCG参考实现。

Quarkslab指出,大型技术供应商、使用企业计算机的组织、服务器、物联网设备和包含TPM的嵌入式系统都可能受到这些缺陷的影响,并补充说它们 "可能影响数十亿台设备"。

TPM是一个基于硬件的解决方案(即一个密码处理器),旨在提供安全的加密功能和物理安全机制,以抵制篡改行为。

"最常见的TPM功能用于系统完整性测量以及密钥的创建和使用,"微软在其文档中说。"在系统的启动过程中,加载的启动代码(包括固件和操作系统组件)可以被测量并记录在TPM中。"

"完整性测量可以作为系统如何启动的证据,并确保基于TPM的密钥只有在使用正确的软件启动系统时才被使用。"

TCG联盟指出,这些缺陷是缺乏必要的长度检查的结果,导致缓冲区溢出,可能为本地信息泄露或权限升级铺平道路。

建议用户应用TCG以及其他供应商发布的更新,以解决这些缺陷并减轻供应链的风险。

"CERT协调中心(CERT/CC)在一份警报中说:"高安全性计算环境中的用户应该考虑使用TPM远程验证来检测设备的任何变化,并确保他们的TPM是防篡改的。
发表于 2023-3-10 19:45 | 显示全部楼层
是**的还是不小心
发表于 2023-3-10 19:48 | 显示全部楼层
这模块对普通家用用户关系不太大吧。
发表于 2023-3-10 20:00 | 显示全部楼层
yystt 发表于 2023-3-10 19:48
这模块对普通家用用户关系不太大吧。

装win11的电脑里都需要有TPM芯片
发表于 2023-3-10 20:07 | 显示全部楼层
本帖最后由 沙悟净@蓝领 于 2023-3-10 20:48 编辑
墨水心 发表于 2023-3-10 20:00
装win11的电脑里都需要有TPM芯片


微软MSDN原版Win11 22H2 ISO镜像用Refus最新版制作启动盘,默认勾选绕开TPM等限制
发表于 2023-3-10 20:19 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2023-3-10 20:30 | 显示全部楼层
台机直接把这个功能给关了,他有啥用呢?防止木马在我电脑上模拟一个设备出来?
发表于 2023-3-10 20:33 | 显示全部楼层
yystt 发表于 2023-3-10 19:48
这模块对普通家用用户关系不太大吧。


比较新的电脑应该都有这模块,但是你不启用bitlocker的话,几乎没感知。
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

Archiver|手机版|小黑屋|Chiphell ( 沪ICP备12027953号-5 )沪公网备310112100042806 上海市互联网违法与不良信息举报中心

GMT+8, 2024-5-23 22:52 , Processed in 0.009613 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2007-2024 Chiphell.com All rights reserved.

快速回复 返回顶部 返回列表