CWEweakness
CWE-1314 Missing Write Protection for Parametric Data Values
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The device does not write-protect the parametric data values for sensors that scale the sensor value, allowing untrusted software to manipulate the apparent result and potentially damage hardware or cause operational failure.
Extended description
The limit values are generally programmed in standard units for the type of value being read. However, the hardware-sensor blocks may report the settings in different units depending upon sensor design and operation. The raw sensor output value is converted to the desired units using a scale conversion based on the parametric data programmed into the sensor. The final converted value is then compared with the previously programmed limits.
While the limit values are usually protected, the sensor parametric data values may not be. By changing the parametric data, safe operational limits may be bypassed.
Common consequences
• Availability: Quality Degradation, DoS: Resource Consumption (Other), DoS: Crash, Exit, or Restart — Sensor value manipulation, particularly thermal or power, may allow physical damage to occur or disabling of the device by a false fault shutdown causing a Denial-Of-Service.
Potential mitigations
• [Architecture and Design] Access controls for sensor blocks should ensure that only trusted software is allowed to change threshold limits and sensor parametric data.
Observed examples
• CVE-2017-8252: Kernel can inject faults in computations during the execution of TrustZone leading to information disclosure in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice and Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking.
Related
Attack pattern · CAPEC (1)
- CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs attack pattern
Observed example · CVE (1)
- CVE-2017-8252 Kernel can inject faults in computations during the execution of TrustZone leading to information disclosure in Snapdragon Auto, Snapdragon… vulnerability
Child of · CWE (1)
- CWE-862 Missing Authorization weakness
Peer of · CWE (1)
- CWE-1299 Missing Protection Mechanism for Alternate Hardware Interface weakness
Referenced by CAPEC · weakness (1)
- CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs attack pattern
Referenced by CVE · weakness (1)
- CVE-2026-40188 goshs is a SimpleHTTPServer written in Go. vulnerability