CVE-2024-28183: Anti Rollback bypass with physical access and TOCTOU attack
ESP-IDF is the development framework for Espressif SoCs supported on Windows, Linux and macOS. A Time-of-Check to Time-of-Use (TOCTOU) vulnerability was discovered in the implementation of the ESP-IDF bootloader which could allow an attacker with physical access to flash of the device to bypass anti-rollback protection. Anti-rollback prevents rollback to application with security version lower than one programmed in eFuse of chip. This attack can allow to boot past (passive) application partition having lower security version of the same device even in the presence of the flash encryption scheme. The attack requires carefully modifying the flash contents after the anti-rollback checks have been performed by the bootloader (before loading the application). The vulnerability is fixed in 4.4.7 and 5.2.1.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-28183?
CVE-2024-28183 has a medium severity due to its potential impact on device security with physical access.
How do I fix CVE-2024-28183?
To fix CVE-2024-28183, update the ESP-IDF framework to versions 4.4.7, 5.0.1 or later.
What type of vulnerability is CVE-2024-28183?
CVE-2024-28183 is a Time-of-Check to Time-of-Use (TOCTOU) vulnerability.
Who is affected by CVE-2024-28183?
CVE-2024-28183 affects users of Espressif ESP-IDF versions between 4.4.0 and 4.4.6, and 5.0.0 and 5.2.0.
What are the potential risks associated with CVE-2024-28183?
The risks associated with CVE-2024-28183 include unauthorized access to the device bootloader and potential modification of the device firmware.