PT-2024-22673 · Esphome · Esphome
Highjesserockz
·
Published
2024-03-06
·
Updated
2024-04-11
·
CVE-2024-29019
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
ESPHome versions 2023.12.9 through 2024.2.x
ESPHome version 2023.12.9
Description
The dashboard component of ESPHome contains API endpoints that are vulnerable to Cross-Site Request Forgery (CSRF), allowing remote attackers to carry out attacks against a logged user of the dashboard to perform operations on configuration files, such as create, edit, and delete. A malicious actor can create a specifically crafted web page that triggers a cross-site request against ESPHome, bypassing the authentication for API calls on the platform. This issue can be chained with another vulnerability to obtain a complete takeover of the user account. The victim must visit a weaponized page to trigger the vulnerability.
Recommendations
For ESPHome version 2023.12.9, update to version 2024.3.0 or later to resolve the issue.
As a temporary workaround, consider restricting access to the dashboard component to minimize the risk of exploitation.
Avoid using the dashboard component until the issue is resolved.
Exploit
Fix
XSS
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Esphome