CVE-2024-27081 ESPHome remote code execution via arbitrary file write
HighCVSS 8.8
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
ESPHome is a system to control your ESP8266/ESP32. A security misconfiguration in the edit configuration file API in the dashboard component of ESPHome version 2023.12.9 (command line installation) allows authenticated remote attackers to read and write arbitrary files under the configuration directory rendering remote code execution possible. This vulnerability is patched in 2024.2.1.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi esphome(PyPI) | = 2023.12.9; = 2024.2.0; = 2024.2.0b1; = 2024.2.0b2 +2 more | 2024.2.1 | Fixed |
| esphome | = 2023.12.9; = = 2023.12.9 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi esphome(PyPI) | >= 2023.12.9, < 2024.2.1 | 2024.2.1 |
| pypi esphome(PyPI) | = 2023.12.9 | No fix listed |
| pypi esphome(PyPI) | = 2024.2.0 | No fix listed |
| pypi esphome(PyPI) | = 2024.2.0b1 | No fix listed |
| pypi esphome(PyPI) | = 2024.2.0b2 | No fix listed |
| pypi esphome(PyPI) | = 2024.2.0b3 | No fix listed |
| esphome | = = 2023.12.9 | No fix listed |
| esphome | = 2023.12.9 | No fix listed |
References
- https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513 patch
- github.com product
- pypi.org product
- github.com vendor-advisory