CWE-1320: Improper Protection for Outbound Error Messages and Alert Signals
Untrusted agents can disable alerts about signal conditions exceeding limits or the response mechanism that handles such alerts.
Last updated
Overview
CWE-1320 (Improper Protection for Outbound Error Messages and Alert Signals) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Background
Hardware sensors are used to detect whether a device is operating within design limits. The threshold values for these limits are set by hardware fuses or trusted software such as a BIOS. Modification of these limits may be protected by hardware mechanisms. When device sensors detect out of bound conditions, alert signals may be generated for remedial action, which may take the form of device shutdown or throttling.
Real-world CVEs
6 recorded CVEs are caused by CWE-1320 (Improper Protection for Outbound Error Messages and Alert Signals). The highest-severity and most recent are shown first.
- CVE-2023-0839
Improper Error Handling in inSCADA
Critical · CVSS 9.8 · EPSS 57th2023-03-06 - CVE-2022-2319
xorg-x11-server: X.Org Server ProcXkbSetGeometry out-of-bounds access
High · CVSS 7.8 · EPSS 22th2022-09-01 - CVE-2023-5635
User Enumeration in ArslanSoft's Education Portal
High · CVSS 7.5 · EPSS 48th2023-12-01 - CVE-2023-5443
User Enumeration in EDM Informatic's E-Invoice Software
High · CVSS 7.5 · EPSS 48th2023-10-27 - CVE-2023-5570
User Enumeration in Inohom's Home Manager Gateway
High · CVSS 7.5 · EPSS 48th2023-10-27 - CVE-2023-1014
Information disclosure in Vira-Investing
High · CVSS 7.5 · EPSS 48th2023-03-30
Common consequences
What can happen when CWE-1320 is exploited.
DoS: Instability, DoS: Crash, Exit, or Restart, Reduce Reliability, Unexpected State
Affects: Availability
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Applies to
Technologies
How to prevent it
Practical mitigations for CWE-1320, grouped by where in the lifecycle they apply.
Alert signals generated by critical events should be protected from access by untrusted agents. Only hardware or trusted firmware modules should be able to alter the alert configuration.
Code examples
MITRE examples of the weakness in code.
Consider a platform design where a Digital-Thermal Sensor (DTS) is used to monitor temperature and compare that output against a threshold value. If the temperature output equals or exceeds the threshold value, the DTS unit sends an alert signal to the processor.
The processor, upon getting the alert, input triggers system shutdown. The alert signal is handled as a General-Purpose-I/O (GPIO) pin in input mode.
Reprogramming the state of the GPIO pin allows malicious software to trigger spurious alerts or to set the alert pin to a zero value so that thermal sensor alerts are not received by the processor.
Terminology & mappings
Mapped taxonomies
- PLC Top 20: Validate HMI input variables at the PLC level, not only at HMI (8)
Attack patterns
CAPEC attack patterns that exploit this weakness.
Frequently asked questions
Common questions about CWE-1320.
- What is CWE-1320?
- Untrusted agents can disable alerts about signal conditions exceeding limits or the response mechanism that handles such alerts.
- What CVEs are caused by CWE-1320?
- 6 recorded CVEs are attributed to CWE-1320, including CVE-2023-0839, CVE-2022-2319 and CVE-2023-5635.
- How do you prevent CWE-1320?
- Alert signals generated by critical events should be protected from access by untrusted agents. Only hardware or trusted firmware modules should be able to alter the alert configuration.
- What are the consequences of CWE-1320?
- Exploiting CWE-1320 can lead to: DoS: Instability, DoS: Crash, Exit, or Restart, Reduce Reliability, Unexpected State.
- Is CWE-1320 actively exploited?
- 6 recorded CVEs are caused by CWE-1320; none are currently in CISA's KEV catalog of actively exploited flaws.
Sources
- [1]Secure PLC Coding Practices: Top 20 List (2021)
References
- MITRE CWE definition (CWE-1320) (opens in a new tab)
- CWE-1320 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.21). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-1320 CVEs
Get an alert when a new CWE-1320 CVE affects your products, with AI-written analysis and remediation steps.