CWE-1304 类弱点 1 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-1304 属于硬件配置状态完整性保护不当漏洞。在电源保存与恢复操作中,若系统未验证配置状态的完整性,攻击者可利用此缺陷篡改持久化存储中的状态数据,从而在恢复后获得非预期的硬件行为或权限提升。开发者应确保在断电前保存状态时生成并存储校验值,并在恢复后严格验证该值,以保障配置数据的真实性和一致性,防止恶意篡改。
void save_config_state() { void* cfg; cfg = get_config_state(); save_config_state(cfg); go_to_sleep(); } void restore_config_state() { void* cfg; cfg = get_config_file(); load_config_file(cfg); }void save_config_state() { void* cfg; void* sha; cfg = get_config_state(); save_config_state(cfg); // save hash(cfg) to trusted location sha = get_hash_of_config_state(cfg); save_hash(sha); go_to_sleep(); } void restore_config_state() { void* cfg; void* sha_1, sha_2; cfg = get_config_file(); // restore hash of config from trusted memory sha_1 = get_persisted_sha_value(); sha_2 = get_hash_of_config_state(cfg); if (sha_1 != sha_2) assert_error_and_halt(); load_config_file(cfg); }| CVE ID | タイトル | CVSS | 深刻度 | 公開日 |
|---|---|---|---|---|
| CVE-2024-23485 | Gallagher Controller 6000和Gallagher Controller 7000 安全漏洞 — Controller 6000 and Controller 7000 | 4.6 | Medium | 2024-07-11 |
CWE-1304 是常见的弱点类别,本平台收录该类弱点关联的 1 条 CVE 漏洞。