6.1
MEDIUM
CVE-2024-28183
Espressif ESP-IDF Bootloader TOCTOU Vulnerability
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.

INFO

Published Date :

March 25, 2024, 3:15 p.m.

Last Modified :

March 25, 2024, 4:43 p.m.

Remotely Exploitable :

No

Impact Score :

5.2

Exploitability Score :

0.9
Public PoC/Exploit Available at Github

CVE-2024-28183 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-28183 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Espressif esp-idf

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python Dockerfile C

Updated: 3 months, 1 week ago
150 stars 38 fork 38 watcher
Born at : Feb. 5, 2016, 5:24 a.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-28183 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-28183 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Mar. 25, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/security/advisories/GHSA-22x6-3756-pfp8 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/commit/3305cb4d235182067936f8e940e6db174e25b4b2 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/commit/4c95aa445d4e84f01f86b6f3a552aa299276abf3 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/commit/534e3ad1fa68526a5f989fb2163856d6b7cd2c87 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/commit/7003f1ef0dffc73c34eb153d1b0710babb078149 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/commit/b2cdc0678965790f49afeb6e6b0737cd24433a05 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/commit/c33b9e1426121ce8cccf1a94241740be9cff68de [No types assigned]
    Added Reference GitHub, Inc. https://github.com/espressif/esp-idf/commit/f327ddf6adab0c28d395975785727b2feef57803 [No types assigned]
    Added CWE GitHub, Inc. CWE-367
    Added CVSS V3.1 GitHub, Inc. AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-28183 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-28183 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability