CWE-354: Improper Validation of Integrity Check Value
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.
扩展描述
Improper validation of checksums before use results in an unnecessary risk that can easily be mitigated. The protocol specification describes the algorithm used for calculating the checksum. It is then a simple matter of implementing the calculation and verifying that the calculated checksum and the received checksum match. Improper verification of the calculated checksum and the received checksum can lead to far greater consequences.
常见后果
影响范围: Integrity Other
技术影响: Modify Application Data Other
说明: Integrity checks usually use a secret key that helps authenticate the data origin. Skipping integrity checking generally opens up the possibility that new data from an invalid source can be injected.
影响范围: Integrity Other
技术影响: Other
说明: Data that is parsed and used may be corrupted.
影响范围: Non-Repudiation Other
技术影响: Hide Activities Other
说明: Without a checksum check, it is impossible to determine if any changes have been made to the data after it was sent.
潜在缓解措施
阶段: Implementation
描述: Ensure that the checksums present in messages are properly checked in accordance with the protocol specification before they are parsed and used.
引入模式
| 阶段 | 说明 |
|---|---|
| Architecture and Design | - |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |
适用平台
编程语言
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| ISA/IEC 62443 | Part 3-3 | Req SR 3.1 | - |
| CLASP | - | Failure to check integrity check value | - |
关键信息
CWE ID: CWE-354
抽象级别: Base
结构: Simple
状态: Draft
利用可能性: Medium