CVE-2024-29019 (GCVE-0-2024-29019)
Vulnerability from cvelistv5
Published
2024-03-21 15:54
Modified
2025-04-10 20:14
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-352 - Cross-Site Request Forgery (CSRF)
Summary
ESPHome is a system to control microcontrollers remotely through Home Automation systems. API endpoints in dashboard component of ESPHome version 2023.12.9 (command line installation) 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 (create, edit, delete). It is possible for a malicious actor to create a specifically crafted web page that triggers a cross site request against ESPHome, this allows bypassing the authentication for API calls on the platform. This vulnerability allows bypassing authentication on API calls accessing configuration file operations on the behalf of a logged user. In order to trigger the vulnerability, the victim must visit a weaponized page. In addition to this, it is possible to chain this vulnerability with GHSA-9p43-hj5j-96h5/ CVE-2024-27287 to obtain a complete takeover of the user account. Version 2024.3.0 contains a patch for this issue.
References
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:esphome:esphome:-:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "esphome", "vendor": "esphome", "versions": [ { "lessThan": "2024.3.0", "status": "affected", "version": "2023.12.9", "versionType": "custom" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-29019", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-04-17T15:20:30.132756Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-04-10T20:14:27.658Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-02T01:03:51.717Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99" }, { "name": "https://github.com/advisories/GHSA-9p43-hj5j-96h5", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/advisories/GHSA-9p43-hj5j-96h5" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "esphome", "vendor": "esphome", "versions": [ { "status": "affected", "version": "\u003e= 2023.12.9, \u003c 2024.3.0" } ] } ], "descriptions": [ { "lang": "en", "value": "ESPHome is a system to control microcontrollers remotely through Home Automation systems. API endpoints in dashboard component of ESPHome version 2023.12.9 (command line installation) 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 (create, edit, delete). It is possible for a malicious actor to create a specifically crafted web page that triggers a cross site request against ESPHome, this allows bypassing the authentication for API calls on the platform. This vulnerability allows bypassing authentication on API calls accessing configuration file operations on the behalf of a logged user. In order to trigger the vulnerability, the victim must visit a weaponized page. In addition to this, it is possible to chain this vulnerability with GHSA-9p43-hj5j-96h5/ CVE-2024-27287 to obtain a complete takeover of the user account. Version 2024.3.0 contains a patch for this issue.\n\n" } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 8.1, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-352", "description": "CWE-352: Cross-Site Request Forgery (CSRF)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-03-21T15:54:42.548Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99" }, { "name": "https://github.com/advisories/GHSA-9p43-hj5j-96h5", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/advisories/GHSA-9p43-hj5j-96h5" } ], "source": { "advisory": "GHSA-5925-88xh-6h99", "discovery": "UNKNOWN" }, "title": "ESPHome vulnerable to Authentication bypass via Cross site request forgery" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2024-29019", "datePublished": "2024-03-21T15:54:42.548Z", "dateReserved": "2024-03-14T16:59:47.610Z", "dateUpdated": "2025-04-10T20:14:27.658Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2024-29019\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-04-11T01:25:11.690\",\"lastModified\":\"2024-11-21T09:07:23.103\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"ESPHome is a system to control microcontrollers remotely through Home Automation systems. API endpoints in dashboard component of ESPHome version 2023.12.9 (command line installation) 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 (create, edit, delete). It is possible for a malicious actor to create a specifically crafted web page that triggers a cross site request against ESPHome, this allows bypassing the authentication for API calls on the platform. This vulnerability allows bypassing authentication on API calls accessing configuration file operations on the behalf of a logged user. In order to trigger the vulnerability, the victim must visit a weaponized page. In addition to this, it is possible to chain this vulnerability with GHSA-9p43-hj5j-96h5/ CVE-2024-27287 to obtain a complete takeover of the user account. Version 2024.3.0 contains a patch for this issue.\\n\\n\"},{\"lang\":\"es\",\"value\":\"ESPHome es un sistema para controlar microcontroladores de forma remota a trav\u00e9s de sistemas de Dom\u00f3tica. Los endpoints API en el componente del tablero de ESPHome versi\u00f3n 2023.12.9 (instalaci\u00f3n de l\u00ednea de comando) son vulnerables a Cross-Site Request Forgery (CSRF), lo que permite a atacantes remotos llevar a cabo ataques contra un usuario registrado en el tablero para realizar operaciones en archivos de configuraci\u00f3n (crear, editar Borrar). Es posible que un actor malintencionado cree una p\u00e1gina web espec\u00edficamente manipulada que active una solicitud entre sitios contra ESPHome, lo que permite omitir la autenticaci\u00f3n para llamadas API en la plataforma. Esta vulnerabilidad permite omitir la autenticaci\u00f3n en llamadas API que acceden a operaciones del archivo de configuraci\u00f3n en nombre de un usuario registrado. Para activar la vulnerabilidad, la v\u00edctima debe visitar una p\u00e1gina armada. Adem\u00e1s de esto, es posible encadenar esta vulnerabilidad con GHSA-9p43-hj5j-96h5/ CVE-2024-27287 para obtener una toma completa de la cuenta del usuario. La versi\u00f3n 2024.3.0 contiene un parche para este problema.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N\",\"baseScore\":8.1,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":5.2}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-352\"}]}],\"references\":[{\"url\":\"https://github.com/advisories/GHSA-9p43-hj5j-96h5\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/advisories/GHSA-9p43-hj5j-96h5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99\", \"name\": \"https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/advisories/GHSA-9p43-hj5j-96h5\", \"name\": \"https://github.com/advisories/GHSA-9p43-hj5j-96h5\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T01:03:51.717Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-29019\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-04-17T15:20:30.132756Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:esphome:esphome:-:*:*:*:*:*:*:*\"], \"vendor\": \"esphome\", \"product\": \"esphome\", \"versions\": [{\"status\": \"affected\", \"version\": \"2023.12.9\", \"lessThan\": \"2024.3.0\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-03T17:34:09.377Z\"}}], \"cna\": {\"title\": \"ESPHome vulnerable to Authentication bypass via Cross site request forgery\", \"source\": {\"advisory\": \"GHSA-5925-88xh-6h99\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 8.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"esphome\", \"product\": \"esphome\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 2023.12.9, \u003c 2024.3.0\"}]}], \"references\": [{\"url\": \"https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99\", \"name\": \"https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/advisories/GHSA-9p43-hj5j-96h5\", \"name\": \"https://github.com/advisories/GHSA-9p43-hj5j-96h5\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"ESPHome is a system to control microcontrollers remotely through Home Automation systems. API endpoints in dashboard component of ESPHome version 2023.12.9 (command line installation) 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 (create, edit, delete). It is possible for a malicious actor to create a specifically crafted web page that triggers a cross site request against ESPHome, this allows bypassing the authentication for API calls on the platform. This vulnerability allows bypassing authentication on API calls accessing configuration file operations on the behalf of a logged user. In order to trigger the vulnerability, the victim must visit a weaponized page. In addition to this, it is possible to chain this vulnerability with GHSA-9p43-hj5j-96h5/ CVE-2024-27287 to obtain a complete takeover of the user account. Version 2024.3.0 contains a patch for this issue.\\n\\n\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-352\", \"description\": \"CWE-352: Cross-Site Request Forgery (CSRF)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-03-21T15:54:42.548Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2024-29019\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-04-10T20:14:27.658Z\", \"dateReserved\": \"2024-03-14T16:59:47.610Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-03-21T15:54:42.548Z\", \"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…