CWEweakness

CWE-1221 Incorrect Register Defaults or Module Parameters

Official page ↗
Abstraction
Base
Structure
Simple
Status
Incomplete
Languages
VHDL, Verilog
CWE version
5.0

Description

Hardware description language code incorrectly defines register defaults or hardware Intellectual Property (IP) parameters to insecure values.

Common consequences

• Confidentiality, Integrity, Availability, Access Control: Varies by Context — The system security settings of a hardware design can be affected by incorrectly defined default values or IP parameters. The hardware IP would be in an insecure state at power reset, and this can be exposed or exploited by untrusted software running on the system. Degradation of system functionality or loss of access control enforcement can occur. • Other: Reduce Maintainability — Both register defaults and parameters are hardcoded values, which cannot be changed using software or firmware patches but must be changed in hardware silicon. Thus, such security issues are considerably more difficult to address later in the lifecycle.

Potential mitigations

• [Architecture and Design] During hardware design, all the system parameters and register defaults must be reviewed to identify security sensitive settings. • [Implementation] The default values of these security sensitive settings need to be defined as part of the design review phase.

Detection methods

• Automated Analysis: Use automated tools to test that values are configured per design specifications. Hardware designs can have a large number of such parameters and register defaults settings, and it is important to have design tool support to check these settings in an automated way and be able to identify which settings are security sensitive.

Related

Attack pattern · CAPEC (1)

  • CAPEC-166 Force the System to Reset Values attack pattern

Child of · CWE (1)

  • CWE-1419 Incorrect Initialization of Resource weakness

Referenced by CAPEC · weakness (1)

  • CAPEC-166 Force the System to Reset Values attack pattern

Referenced by CVE · weakness (2)

  • CVE-2022-20661 Multiple vulnerabilities that affect Cisco Catalyst Digital Building Series Switches and Cisco Catalyst Micro Switches could allow an… vulnerability
  • CVE-2022-20731 Multiple vulnerabilities that affect Cisco Catalyst Digital Building Series Switches and Cisco Catalyst Micro Switches could allow an… vulnerability