CWE-1312 — Missing Protection for Mirrored Regions in On-Chip Fabric Firewall
CWE-1312: Missing Protection for Mirrored Regions in On-Chip Fabric Firewall
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Draft |
| Likelihood of exploit | — |
Description
The firewall in an on-chip fabric protects the main addressed region, but it does not protect any mirrored memory or memory-mapped-IO (MMIO) regions.
Few fabrics mirror memory and address ranges, where mirrored regions contain copies of the original data. This redundancy is used to achieve fault tolerance. Whatever protections the fabric firewall implements for the original region should also apply to the mirrored regions. If not, an attacker could bypass existing read/write protections by reading from/writing to the mirrored regions to leak or corrupt the original data.
Common consequences
- Confidentiality, Integrity, Access Control: Modify Memory, Read Memory, Bypass Protection Mechanism
Mitigations
Architecture and Design — The fabric firewall should apply the same protections as the original region to the mirrored regions.
Implementation — The fabric firewall should apply the same protections as the original region to the mirrored regions.
References
- CWE page: https://cwe.mitre.org/data/definitions/1312.html
- CWE list: https://cwe.mitre.org/data/index.html