NVD Vulnerability Detail
Search Exploit, PoC
CVE-2014-8271
Summary

Buffer overflow in the Reclaim function in Tianocore EDK2 before SVN 16280 allows physically proximate attackers to gain privileges via a long variable name.

Publication Date Feb. 7, 2020, 12:15 a.m.
Registration Date Jan. 26, 2021, 3:20 p.m.
Last Update Nov. 21, 2024, 11:18 a.m.
CVSS3.1 : MEDIUM
スコア 6.8
Vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) 物理
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 4.6
Vector AV:L/AC:L/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:tianocore:edk2:*:*:*:*:*:*:*:* svn_16280
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
UEFI EDK1 にバッファオーバーフローの脆弱性
Title UEFI EDK1 にバッファオーバーフローの脆弱性
Summary

UEFI のリファレンス実装である EDK1 にはバッファオーバーフローの脆弱性が存在します。 オープンソースのプロジェクト EDK1 は Unified Extensible Firmware Interface (UEFI) のリファレンス実装を提供しています。商用の UEFI 実装は EDK1 のソースコードを取り込んでいる可能性があります。Rafal Wojtczuk 氏と Corey Kallenberg 氏の調査によると、Edk1/source/Sample/Universal/Variable/RuntimeDxe/FS/FSVariable.c にはバッファオーバーフローの脆弱性が存在します。 Corey Kallenberg 氏は本脆弱性を次の通り説明しています。  "UEFI utilizes various non-volatile variables to communicate information back and forth between the operating system and the firmware; for instance, boot order, platform language, etc. These non-volatile variables are stored in a file-system like region on the SPI flash chip. This file-system supports many operations such as deleting existing variables, creating new variables, and defragmenting the variable region in order to reclaim unused space. This latter operation is important to ensure that large variables can be created in the event the variable region is resource constrained and fragmented with many unused "free slots."  We have discovered a buffer overflow associated with this "reclaim" operation [in FSVariable.c].  FSVariable.c  https://github.com/tianocore/edk/blob/master/Sample/Universal/Variable/RuntimeDxe/FS/FSVariable.c#L348-L352  In the reclaim operation, there is assumption that by following the chain of variables (by NextVariable = GetNextVariablePtr (Variable), that essentially adds Variable's size to it), we do not jump out of the variable store bounds.  In particular, in line 352, the CurrPtr can extend beyond the legitimate boundaries of the variable region. Ultimately in line 350, we can end up with a memory corruption via buffer overflow."

Possible impacts Rafal Wojtczuk 氏と Corey Kallenberg 氏は脆弱性の影響について次のように述べています。   "The impact of the vulnerability depends on the earliness at which the vulnerable code can be instantiated. Generally, as the boot up of the platform progresses, the platform becomes more and more locked down. Specifically, things like the SPI Flash containing the platform firmware, SMM, and other chipset configurations become locked.   In an ideal (for attacker) scenario, the vulnerable code can be instantiated before the SPI flash is locked down, thus resulting in an arbitrary reflash of the platform firmware.   Another possibility is for the attacker to leverage this vulnerability to get into SMM (if SMM is not sufficiently locked down yet), or to defeat Secure Boot and launch an authorized boot loader.   It is also possible that this code is copied into SMM to support the ability to create/modify authenticated variables at runtime, in which case, the vulnerability could be exploited to achieve a runtime SMM break-in.   The consequences and exploitablity of this bug will vary based on the OEM's firmware implementation."
Solution

開発者が提供する情報や CERT/CC Vulnerability Note VU#533140 の Vendor Information に掲載されている情報を参考に、対策方法を検討してください。CERT/CC では、引き続き UEFI に関する脆弱性について開発者との調整を進めています。 VU#533140 の Vendor Information http://www.kb.cert.org/vuls/id/533140#vendors

Publication Date Jan. 5, 2015, midnight
Registration Date Jan. 7, 2015, 5:04 p.m.
Last Update Jan. 7, 2015, 5:04 p.m.
Affected System
(複数のベンダ)
(複数の製品) 
CVE (情報セキュリティ 共通脆弱性識別子)
その他
Change Log
No Changed Details Date of change
0 [2015年01月07日]
  掲載
Feb. 17, 2018, 10:37 a.m.