It is frequently assumed that physical attacks such as fault injection and side-channel analysis require an attacker to have physical access to the target device. This assumption may be false if the device has improperly secured power management features, or similar features. For mobile devices, minimizing power consumption is critical, but these devices run a wide variety of applications with different performance requirements. Software-controllable mechanisms to dynamically scale device voltage and frequency and monitor power consumption are common features in today's chipsets, but they also enable attackers to mount fault injection and side-channel attacks without having physical access to the device.
Fault injection attacks involve strategic manipulation of bits in a device to achieve a desired effect such as skipping an authentication step, elevating privileges, or altering the output of a cryptographic operation. Manipulation of the device clock and voltage supply is a well-known technique to inject faults and is cheap to implement with physical device access. Poorly protected power management features allow these attacks to be performed from software. Other features, such as the ability to write repeatedly to DRAM at a rapid rate from unprivileged software, can result in bit flips in other memory locations (Rowhammer, [REF-1083]).
Side channel analysis requires gathering measurement traces of physical quantities such as power consumption. Modern processors often include power metering capabilities in the hardware itself (e.g., Intel RAPL) which if not adequately protected enable attackers to gather measurements necessary for performing side-channel attacks from software.
| Impact | Details |
|---|---|
|
Modify Memory; Modify Application Data; Bypass Protection Mechanism |
Scope: Integrity |
| Phase(s) | Mitigation |
|---|---|
|
Architecture and Design; Implementation |
Ensure proper access control mechanisms protect software-controllable features altering physical operating conditions such as clock frequency and voltage. |
| Nature | Type | ID | Name |
|---|---|---|---|
| ChildOf | Class Class - a weakness that is described in a very abstract fashion, typically independent of any specific language or technology. More specific than a Pillar Weakness, but more general than a Base Weakness. Class level weaknesses typically describe issues in terms of 1 or 2 of the following dimensions: behavior, property, and resource. | 285 | Improper Authorization |
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf | Category Category - a CWE entry that contains a set of other entries that share a common characteristic. | 1206 | Power, Clock, Thermal, and Reset Concerns |
| Phase | Note |
|---|---|
| Architecture and Design | An architect may initiate introduction of this weakness via exacting requirements for software accessible power/clock management requirements |
| Implementation | An implementer may introduce this weakness by assuming there are no consequences to unbounded power and clock management for secure components from untrusted ones. |
Class: Not Language-Specific (Undetermined Prevalence)
Class: Not OS-Specific (Undetermined Prevalence)
Class: Not Architecture-Specific (Undetermined Prevalence)
Class: Not Technology-Specific (Undetermined Prevalence)
Memory Hardware (Undetermined Prevalence)
Power Management Hardware (Undetermined Prevalence)
Clock/Counter Hardware (Undetermined Prevalence)
Example 1
This example considers the Rowhammer problem [REF-1083]. The Rowhammer issue was caused by a program in a tight loop writing repeatedly to a location to which the program was allowed to write but causing an adjacent memory location value to change.
Preventing the loop required to defeat the Rowhammer exploit is not always possible:
While the redesign may be possible for new devices, a redesign is not possible in existing devices. There is also the possibility that reducing capacitance with a relayout would impact the density of the device resulting in a less capable, more costly device.
Example 2
Suppose a hardware design implements a set of software-accessible registers for scaling clock frequency and voltage but does not control access to these registers. Attackers may cause register and memory changes and race conditions by changing the clock or voltage of the device under their control.
Example 3
Consider the following SoC design. Security-critical settings for scaling clock frequency and voltage are available in a range of registers bounded by [PRIV_END_ADDR : PRIV_START_ADDR] in the tmcu.csr module in the HW Root of Trust. These values are writable based on the lock_bit register in the same module. The lock_bit is only writable by privileged software running on the tmcu.
We assume that untrusted software running on any of the Core{0-N} processors has access to the input and output ports of the hrot_iface. If untrusted software can clear the lock_bit or write the clock frequency and voltage registers due to inadequate protection, a fault injection attack could be performed.
Note: this is a curated list of examples for users to understand the variety of ways in which this weakness can be introduced. It is not a complete list of all CVEs that are related to this CWE entry.
| Reference | Description |
|---|---|
|
Plundervolt: Improper conditions check in voltage settings for some Intel(R) Processors may allow a privileged user to potentially enable escalation of privilege and/or information disclosure via local access [REF-1081].
|
|
|
PLATYPUS Attack: Insufficient access control in the Linux kernel driver for some Intel processors allows information disclosure.
|
|
|
Observable discrepancy in the RAPL interface for some Intel processors allows information disclosure.
|
|
|
AMD extension to a Linux service does not require privileged access to the RAPL interface, allowing side-channel attacks.
|
|
|
NaCl in 2015 allowed the CLFLUSH instruction, making Rowhammer attacks possible.
|
| Ordinality | Description |
|---|---|
|
Primary
|
(where the weakness exists independent of other weaknesses)
|
| Method | Details |
|---|---|
|
Manual Analysis |
Perform a security evaluation of system-level
architecture and design with software-aided physical attacks
in scope.
|
|
Automated Dynamic Analysis |
Use custom software to change registers that control clock settings or power settings to try to bypass security locks, or repeatedly write DRAM to try to change adjacent locations. This can be effective in extracting or changing data. The drawback is that it cannot be run before manufacturing, and it may require specialized software. Effectiveness: Moderate |
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf | ViewView - a subset of CWE entries that provides a way of examining CWE content. The two main view structures are Slices (flat lists) and Graphs (containing relationships between entries). | 1343 | Weaknesses in the 2021 CWE Most Important Hardware Weaknesses List |
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 1396 | Comprehensive Categorization: Access Control |
| MemberOf | ViewView - a subset of CWE entries that provides a way of examining CWE content. The two main view structures are Slices (flat lists) and Graphs (containing relationships between entries). | 1432 | Weaknesses in the 2025 CWE Most Important Hardware Weaknesses List |
Rationale
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.Comments
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.| Submissions | |||
|---|---|---|---|
| Submission Date | Submitter | Organization | |
|
2020年05月08日
(CWE 4.1, 2020年02月24日) |
Nicole Fern | Cycuity (originally submitted as Tortuga Logic) | |
| Contributions | |||
| Contribution Date | Contributor | Organization | |
| 2021年07月16日 | Cycuity (originally submitted as Tortuga Logic) | ||
| Provided Demonstrative Example for Hardware Root of Trust | |||
| 2021年10月11日 | Anders Nordstrom, Alric Althoff | Cycuity (originally submitted as Tortuga Logic) | |
| Provided detection method | |||
| 2021年10月15日 | Nicole Fern | Riscure | |
| updated description and extended description, detection method, and observed examples | |||
| Modifications | |||
| Modification Date | Modifier | Organization | |
|
2025年09月09日
(CWE 4.18, 2025年09月09日) |
CWE Content Team | MITRE | |
| updated Relationships | |||
|
2025年04月03日
(CWE 4.17, 2025年04月03日) |
CWE Content Team | MITRE | |
| updated Demonstrative_Examples | |||
| 2023年06月29日 | CWE Content Team | MITRE | |
| updated Mapping_Notes | |||
| 2023年04月27日 | CWE Content Team | MITRE | |
| updated Relationships | |||
| 2023年01月31日 | CWE Content Team | MITRE | |
| updated Related_Attack_Patterns | |||
| 2022年06月28日 | CWE Content Team | MITRE | |
| updated Applicable_Platforms | |||
| 2022年04月28日 | CWE Content Team | MITRE | |
| updated Applicable_Platforms | |||
| 2021年10月28日 | CWE Content Team | MITRE | |
| updated Demonstrative_Examples, Description, Detection_Factors, Maintenance_Notes, Modes_of_Introduction, Name, Observed_Examples, References, Relationships, Weakness_Ordinalities | |||
| 2021年07月20日 | CWE Content Team | MITRE | |
| updated Demonstrative_Examples, Observed_Examples | |||
| 2021年03月15日 | CWE Content Team | MITRE | |
| updated Demonstrative_Examples, Functional_Areas, Maintenance_Notes | |||
| 2020年08月20日 | CWE Content Team | MITRE | |
| updated Demonstrative_Examples, Description, Maintenance_Notes, Related_Attack_Patterns | |||
| Previous Entry Names | |||
| Change Date | Previous Entry Name | ||
| 2021年10月28日 | Hardware Features Enable Physical Attacks from Software | ||
Use of the Common Weakness Enumeration (CWE™) and the associated references from this website are subject to the Terms of Use. CWE is sponsored by the U.S. Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security Agency (CISA) and managed by the Homeland Security Systems Engineering and Development Institute (HSSEDI) which is operated by The MITRE Corporation (MITRE). Copyright © 2006–2025, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation.