CVE-2024-27081 (GCVE-0-2024-27081)
Vulnerability from cvelistv5
Published
2024-02-26 16:29
Modified
2024-08-27 20:29
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Summary
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.
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-02T00:27:57.835Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p" }, { "name": "https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513" } ], "title": "CVE Program Container" }, { "affected": [ { "cpes": [ "cpe:2.3:a:esphome:esphome:*:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "esphome", "vendor": "esphome", "versions": [ { "status": "affected", "version": "2023.12.9" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-27081", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-03-14T19:59:57.002691Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-08-27T20:29:19.155Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "esphome", "vendor": "esphome", "versions": [ { "status": "affected", "version": "= 2023.12.9" } ] } ], "descriptions": [ { "lang": "en", "value": "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.\n" } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.2, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-22", "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-02-26T16:29:21.620Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p" }, { "name": "https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513" } ], "source": { "advisory": "GHSA-8p25-3q46-8q2p", "discovery": "UNKNOWN" }, "title": "ESPHome remote code execution via arbitrary file write" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2024-27081", "datePublished": "2024-02-26T16:29:21.620Z", "dateReserved": "2024-02-19T14:43:05.991Z", "dateUpdated": "2024-08-27T20:29:19.155Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2024-27081\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-02-26T17:15:10.550\",\"lastModified\":\"2025-02-07T17:33:26.027\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\\n\"},{\"lang\":\"es\",\"value\":\"ESPHome es un sistema para controlar su ESP8266/ESP32. Una mala configuraci\u00f3n de seguridad en la API de edici\u00f3n del archivo de configuraci\u00f3n en el componente del tablero de ESPHome versi\u00f3n 2023.12.9 (instalaci\u00f3n de l\u00ednea de comando) permite a atacantes remotos autenticados leer y escribir archivos arbitrarios en el directorio de configuraci\u00f3n, lo que hace posible la ejecuci\u00f3n remota de c\u00f3digo. Esta vulnerabilidad est\u00e1 parcheada en 2024.2.1.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.2,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.2,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:esphome:esphome:2023.12.9:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8FB8AB78-5D2D-4F29-8B27-64D0B0531620\"}]}]}],\"references\":[{\"url\":\"https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Vendor Advisory\"]},{\"url\":\"https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Vendor Advisory\"]}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p\", \"name\": \"https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513\", \"name\": \"https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T00:27:57.835Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-27081\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-03-14T19:59:57.002691Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:esphome:esphome:*:*:*:*:*:*:*:*\"], \"vendor\": \"esphome\", \"product\": \"esphome\", \"versions\": [{\"status\": \"affected\", \"version\": \"2023.12.9\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-08-27T20:29:14.563Z\"}}], \"cna\": {\"title\": \"ESPHome remote code execution via arbitrary file write\", \"source\": {\"advisory\": \"GHSA-8p25-3q46-8q2p\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.2, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"esphome\", \"product\": \"esphome\", \"versions\": [{\"status\": \"affected\", \"version\": \"= 2023.12.9\"}]}], \"references\": [{\"url\": \"https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p\", \"name\": \"https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513\", \"name\": \"https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\\n\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-22\", \"description\": \"CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-02-26T16:29:21.620Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2024-27081\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-27T20:29:19.155Z\", \"dateReserved\": \"2024-02-19T14:43:05.991Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-02-26T16:29:21.620Z\", \"assignerShortName\": \"GitHub_M\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…