blob: 0fd6aa282593a61605197da4a5f38153baf23be4 (
plain) (
blame)
1
2
3
|
Missing checks for valid, writable, firmware in fw_cfg_write
The `fw_cfg_write` function in the firmware emulation is missing checks to ensure that the firmware being written is (a) a valid index, and (b) writable. This can lead to a segmentation fault and potentially (in the case of writing to FW_CFG_INVALID), memory corruption, although the attacker has fairly limited control over whether and what corruption is possible.
|