CWE-471: Modification of Assumed-Immutable Data (MAID)
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
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.
常见后果
影响范围: Integrity
技术影响: Modify Application Data
说明: Common data types that are attacked are environment variables, web application parameters, and HTTP headers.
影响范围: Integrity
技术影响: Unexpected State
潜在缓解措施
阶段: Architecture and Design Operation Implementation
描述: 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.
观察示例
参考: CVE-2002-1757
Relies on $PHP_SELF variable for authentication.
参考: CVE-2005-1905
Gain privileges by modifying assumed-immutable code addresses that are accessed by a driver.
引入模式
| 阶段 | 说明 |
|---|---|
| Implementation | - |
| Architecture and Design | - |
适用平台
编程语言
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| PLOVER | - | Modification of Assumed-Immutable Data | - |
关键信息
CWE ID: CWE-471
抽象级别: Base
结构: Simple
状态: Draft