Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-53845— AES/CBC Constant IV Vulnerability in ESPTouch v2

Quick assessment

Affected
espressif esp-idf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Espressif ESP-IDF是中国乐鑫(Espressif)公司的一款物联网开发框架。 Espressif ESP-IDF存在安全漏洞,该漏洞源于如果未正确初始化IV,则加密输出将变为确定性,从而导致潜在的数据泄露。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.57% · P45

Possible ATT&CK Techniques 1 AI

T1557.002 · ARP Cache Poisoning
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-53845

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
AES/CBC Constant IV Vulnerability in ESPTouch v2
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
使用已被攻破或存在风险的密码学算法
Source: CVE Program / CVE List V5
Vulnerability Title
Espressif ESP-IDF 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Espressif ESP-IDF是中国乐鑫(Espressif)公司的一款物联网开发框架。 Espressif ESP-IDF存在安全漏洞,该漏洞源于如果未正确初始化IV,则加密输出将变为确定性,从而导致潜在的数据泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
espressif esp-idf >= 5.3.0, < 5.3.2 -

II. Public POCs for CVE-2024-53845

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-53845

登录查看更多情报信息。

Patches & Fixes for CVE-2024-53845 (5)

Vendor Advisories for CVE-2024-53845 (1)

Vendor Pages for CVE-2024-53845 (1)

Other References for CVE-2024-53845 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2024-53845

No comments yet


Leave a comment