CWE-1280 — Access Control Check Implemented After Asset is Accessed
CWE-1280: Access Control Check Implemented After Asset is Accessed
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Incomplete |
| Likelihood of exploit | — |
Description
A product's hardware-based access control check occurs after the asset has been accessed.
The product implements a hardware-based access control check. The asset should be accessible only after the check is successful. If, however, this operation is not atomic and the asset is accessed before the check is complete, the security of the system may be compromised.
Common consequences
- Access Control, Confidentiality, Integrity: Modify Memory, Read Memory, Modify Application Data, Read Application Data, Gain Privileges or Assume Identity, Bypass Protection Mechanism
Mitigations
Implementation — Implement the access control check first. Access should only be given to asset if agent is authorized.
References
- CWE page: https://cwe.mitre.org/data/definitions/1280.html
- CWE list: https://cwe.mitre.org/data/index.html