CVE-2024-28183 Anti Rollback bypass with physical access and TOCTOU attack
An attacker with physical access can bypass anti-rollback protection via a TOCTOU race condition, allowing booting of older, potentially vulnerable firmware.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-28183?
CVE-2024-28183 is a medium-severity vulnerability in espressif esp-idf, published on 25 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-367
Which versions are affected by CVE-2024-28183?
It affects 1 product.
Products include Espressif Esp-Idf.
How do I fix CVE-2024-28183?
No fix has been published for CVE-2024-28183 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-28183 being exploited?
There is no known exploitation of CVE-2024-28183 in the wild and no public exploit code.
Other vulnerabilities in espressif esp-idf
Sources
Also known as GHSA-22x6-3756-pfp8.