CWE-1311: Improper Translation of Security Attributes by… | Glexia
CWE-1311 (Improper Translation of Security Attributes by Fabric Bridge) weakness overview with consequences, detection methods, mitigations, related CVEs and MITRE…
Glexia's Take · Automated analysis
CWE-1311: Improper Translation of Security Attributes by Fabric Bridge
Improper Translation of Security Attributes by Fabric Bridge represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Executive Impact
- Confidentiality,Integrity,Access Control: Modify Memory,Read Memory,Gain Privileges or Assume Identity,Bypass Protection Mechanism,Execute Unauthorized Code or Commands
Developer Pattern
CWE-1311 is the kind of defect developers can usually prevent with explicit validation, safer framework defaults, and tests that exercise hostile input or unsafe state transitions.
Automation confidence
high confidence from CWE-1311, 4.20.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Official CWE Definition
CWE-1311: Improper Translation of Security Attributes by Fabric Bridge
The bridge incorrectly translates security attributes from either trusted to untrusted or from untrusted to trusted when converting from one fabric protocol to another.
Developer And Remediation Guidance
How teams prevent and detect this weakness
Causes
- Logic in the case statement only checks for MReqInfo bits 4:2, i.e., hardware-identity bits 3:1. When ocp_mreqinfo is 5'h1F or 5'h0E, p0_mreqinfo_o_temp[2] will be 1. As a result, untrusted IDs from OCP 5'h1F and 5'h0E get translated to trusted ahb_hprot values 2'b00.
Remediation
- Architecture and Design: The translation must map signals in such a way that untrusted agents cannot map to trusted agents or vice-versa.
- Implementation: Ensure that the translation maps signals in such a way that untrusted agents cannot map to trusted agents or vice-versa.
Detection
- Code review
- SAST
- DAST
- Focused regression tests
Mappings
Related CVEs, CWEs, and ATT&CK context
Related CWEs
ATT&CK Relevance
ATT&CK relevance is shown only when reviewed or responsibly inferred.
