llamaCVEVulnerability Intelligence
/
esp-idf

CVE-2024-53845

AES/CBC Constant IV Vulnerability in ESPTouch v2

Parche disponiblebroken cryptography
Descargar PNG JSON
CVSS 4.0
6.6
Media
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versiones5.0.8 · 5.1.6 · 5.2.4 · 5.3.2
Exposición707 dDesde la divulgación, 11 dic 2024, 5:35 p. m.
Detección705 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
11 dic 24
12 dic 24
17 nov 26
19 nov 26
11 dic 24
6 jun 25
30 nov 25
26 may 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-53845 divulgada · CVSS 6.6 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

ESPTouch is a connection protocol for internet of things devices. In the ESPTouchV2 protocol, while there is an option to use a custom AES key, there is no option to set the IV (Initialization Vector) prior to versions 5.3.2, 5.2.4, 5.1.6, and 5.0.8. The IV is set to zero and remains constant throughout the product's lifetime. In AES/CBC mode, if the IV is not properly initialized, the encrypted output becomes deterministic, leading to potential data leakage. To address the aforementioned issues, the application generates a random IV when activating the AES key starting in versions 5.3.2, 5.2.4, 5.1.6, and 5.0.8. This IV is then transmitted along with the provision data to the provision device. The provision device has also been equipped with a parser for the AES IV. The upgrade is applicable for all applications and users of ESPTouch v2 component from ESP-IDF. As it is implemented in the ESP Wi-Fi stack, there is no workaround for the user to fix the application layer without upgrading the underlying firmware.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
esp-idf< 5.0.8
esp-idf≥ 5.1.0 < 5.1.6
esp-idf≥ 5.2.0 < 5.2.4
esp-idf≥ 5.3.0 < 5.3.2
5.0.8
5.1.0
5.1.6
5.2.0
5.2.4
5.3.0
5.3.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
esp-idf
Corregida 5.0.8, 5.1.6, 5.2.4, 5.3.2 — —
Versiones corregidas5.0.85.1.65.2.45.3.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/espressif/esp-idf/security/advisories/GHSA-wm57-466g-mhrr
Otrahttps://github.com/espressif/esp-idf/commit/4f85a2726e04b737c8646d865b44ddd837b703db
Otrahttps://github.com/espressif/esp-idf/commit/8fb28dcedcc49916a5206456a3a61022d4302cd8
Otrahttps://github.com/espressif/esp-idf/commit/d47ed7d6f814e21c5bc8997ab0bc68e2360e5cb2
Otrahttps://github.com/espressif/esp-idf/commit/de69895f38d563e22228f5ba23fffa02feabc3a9
Otrahttps://github.com/espressif/esp-idf/commit/fd224e83bbf133833638b277c767be7f7cdd97c7
Otrahttps://github.com/EspressifApp/EsptouchForAndroid/tree/master/esptouch-v2
Otrahttps://github.com/EspressifApp/EsptouchForIOS/tree/master/EspTouchDemo/ESPTouchV2
Otrahttps://github.com/espressif/esp-idf/tree/master/components/esp_wifi

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.