CVE-2025-53540
CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Several OTA update examples and the HTTPUpdateServer implementation are vulnerable to Cross-Site Request Forgery (CSRF). The update endpoints accept POST requests for firmware uploads without CSRF protection. This allows an attacker to upload and execute arbitrary firmware, resulting in remote code execution (RCE). This vulnerability is fixed in 3.2.1.
Arduino-esp32 es un núcleo Arduino para los microcontroladores ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 y ESP32-H2. Varios ejemplos de actualizaciones OTA y la implementación HTTPUpdateServer son vulnerables a Cross-Site Request Forgery (CSRF). Los endpoints de actualización aceptan solicitudes POST para la carga de firmware sin protección CSRF. Esto permite a un atacante cargar y ejecutar firmware arbitrario, lo que resulta en la ejecución remota de código (RCE). Esta vulnerabilidad se corrigió en la versión 3.2.1.
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2025-07-02 CVE Reserved
- 2025-07-07 CVE Published
- 2025-07-07 CVE Updated
- 2025-07-13 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-352: Cross-Site Request Forgery (CSRF)
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/espressif/arduino-esp32/commit/f4fdecc60c465384e465a4b1d2bd1eac8f67912e | X_refsource_misc | |
https://github.com/espressif/arduino-esp32/security/advisories/GHSA-9vfw-wx65-c872 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Espressif Search vendor "Espressif" | Arduino-esp32 Search vendor "Espressif" for product "Arduino-esp32" | < 3.2.1 Search vendor "Espressif" for product "Arduino-esp32" and version " < 3.2.1" | en |
Affected
|