---
title: "CWE-1312: Missing Protection for Mirrored Regions in On-Chip Fabric Firewall"
url: https://radicalnotion.ai/cwe/cwe-1312
type: cwe
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."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1312: Missing Protection for Mirrored Regions in On-Chip Fabric Firewall

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 1
- **Of those, in CISA KEV:** 0
- **New in 2026:** 1
- **CWE catalog version:** 4.21

## 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.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Access Control | Modify Memory, Read Memory, Bypass Protection Mechanism | - |

## Potential 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.

## Detection methods

### Manual Dynamic Analysis

Using an external debugger, send write transactions to mirrored regions to test if original, write-protected regions are modified. Similarly, send read transactions to mirrored regions to test if the original, read-protected signals can be read.

Effectiveness: High

## Demonstrative examples

### Example 1

A memory-controller IP block is connected to the on-chip fabric in a System on Chip (SoC). The memory controller is configured to divide the memory into four parts: one original and three mirrored regions inside the memory. The upper two bits of the address indicate which region is being addressed. 00 indicates the original region and 01, 10, and 11 are used to address the mirrored regions. All four regions operate in a lock-step manner and are always synchronized. The firewall in the on-chip fabric is programmed to protect the assets in the memory.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2018-25244 | Eco Search 1.0.2.0 Denial of Service | medium | 6.9 | - | No | 2026-04-04 |

## Related attack patterns (CAPEC)

- [CAPEC-456](https://radicalnotion.ai/capec/capec-456): Infected Memory
- [CAPEC-679](https://radicalnotion.ai/capec/capec-679): Exploitation of Improperly Configured or Implemented Memory Protections

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-284](https://radicalnotion.ai/cwe/cwe-284) | Improper Access Control |
| Peer | [CWE-1251](https://radicalnotion.ai/cwe/cwe-1251) | Mirrored Regions with Different Values |

## Frequently asked questions

### What is CWE-1312?

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.

### What CVEs are caused by CWE-1312?

1 recorded CVE is attributed to CWE-1312: CVE-2018-25244.

### How do you prevent CWE-1312?

The fabric firewall should apply the same protections as the original region to the mirrored regions.

### How is CWE-1312 detected?

Manual Dynamic Analysis: Using an external debugger, send write transactions to mirrored regions to test if original, write-protected regions are modified. Similarly, send read transactions to mirrored regions to test if the original, read-protected signals can be read.

### What are the consequences of CWE-1312?

Exploiting CWE-1312 can lead to: Modify Memory, Read Memory, Bypass Protection Mechanism.

### Is CWE-1312 actively exploited?

1 recorded CVE is caused by CWE-1312; it is not currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/1312.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-1312). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
