Umbra Wiki weakness weakness/CWE-471
Back to wiki

CWE-471 — Modification of Assumed-Immutable Data (MAID)

provenance: imported · CWE: CWE-471

CWE-471: Modification of Assumed-Immutable Data (MAID)

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Draft
Likelihood of exploit

Description

The product does not properly protect an assumed-immutable element from being modified by an attacker.

This occurs when a particular input is critical enough to the functioning of the application that it should not be modifiable at all, but it is. Certain resources are often assumed to be immutable when they are not, such as hidden form fields in web applications, cookies, and reverse DNS lookups.

Common consequences

  • Integrity: Modify Application Data
  • Integrity: Unexpected State

Mitigations

Architecture and Design — When the data is stored or transmitted through untrusted sources that could modify the data, implement integrity checks to detect unauthorized modification, or store/transmit the data in a trusted location that is free from external influence.

References

  • CWE page: https://cwe.mitre.org/data/definitions/471.html
  • CWE list: https://cwe.mitre.org/data/index.html