CVE-2024-27081

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:esphome:esphome:2023.12.9:*:*:*:*:*:*:*

History

07 Feb 2025, 17:33

Type Values Removed Values Added
References () https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513 - () https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513 - Patch
References () https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p - () https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p - Exploit, Vendor Advisory
CPE cpe:2.3:a:esphome:esphome:2023.12.9:*:*:*:*:*:*:*
First Time Esphome
Esphome esphome

21 Nov 2024, 09:03

Type Values Removed Values Added
References () https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513 - () https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513 -
References () https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p - () https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p -
Summary
  • (es) ESPHome es un sistema para controlar su ESP8266/ESP32. Una mala configuración de seguridad en la API de edición del archivo de configuración en el componente del tablero de ESPHome versión 2023.12.9 (instalación de línea de comando) permite a atacantes remotos autenticados leer y escribir archivos arbitrarios en el directorio de configuración, lo que hace posible la ejecución remota de código. Esta vulnerabilidad está parcheada en 2024.2.1.

26 Feb 2024, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-26 17:15

Updated : 2025-02-07 17:33


NVD link : CVE-2024-27081

Mitre link : CVE-2024-27081

CVE.ORG link : CVE-2024-27081


JSON object : View

Products Affected

esphome

  • esphome
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')