CVE-2024-37285 (GCVE-0-2024-37285)
Vulnerability from cvelistv5 – Published: 2024-11-14 16:49 – Updated: 2024-11-14 18:48
VLAI?
Title
Kibana arbitrary code execution via YAML deserialization
Summary
A deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document containing a crafted payload. A successful attack requires a malicious user to have a combination of both specific Elasticsearch indices privileges https://www.elastic.co/guide/en/elasticsearch/reference/current/defining-roles.html#roles-indices-priv and Kibana privileges https://www.elastic.co/guide/en/fleet/current/fleet-roles-and-privileges.html assigned to them.
The following Elasticsearch indices permissions are required
* write privilege on the system indices .kibana_ingest*
* The allow_restricted_indices flag is set to true
Any of the following Kibana privileges are additionally required
* Under Fleet the All privilege is granted
* Under Integration the Read or All privilege is granted
* Access to the fleet-setup privilege is gained through the Fleet Server’s service account token
Severity ?
9.1 (Critical)
CWE
- CWE-502 - Deserialization of Untrusted Data
Assigner
References
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:elastic:kibana:-:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "kibana",
"vendor": "elastic",
"versions": [
{
"lessThanOrEqual": "8.15.0",
"status": "affected",
"version": "8.10.0",
"versionType": "semver"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-37285",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-11-14T18:46:46.588026Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-11-14T18:48:27.837Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Kibana",
"vendor": "Elastic",
"versions": [
{
"lessThanOrEqual": "8.15.0",
"status": "affected",
"version": "8.10.0",
"versionType": "semver"
}
]
}
],
"datePublic": "2024-09-05T15:42:00.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eA deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document containing a crafted payload. A successful attack requires a malicious user to have a combination of both specific \u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/defining-roles.html#roles-indices-priv\"\u003eElasticsearch indices privileges\u003c/a\u003e\u0026nbsp;and \u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://www.elastic.co/guide/en/fleet/current/fleet-roles-and-privileges.html\"\u003eKibana privileges\u003c/a\u003e\u0026nbsp;assigned to them.\u003cbr\u003e\u003cbr\u003e\u003c/p\u003e\u003cp\u003eThe following Elasticsearch indices permissions are required\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003ccode\u003ewrite\u003c/code\u003e\u0026nbsp;privilege on the system indices \u003ccode\u003e.kibana_ingest*\u003c/code\u003e\u003c/li\u003e\u003cli\u003eThe \u003ccode\u003eallow_restricted_indices\u003c/code\u003e\u0026nbsp;flag is set to \u003ccode\u003etrue\u003c/code\u003e\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eAny of the following Kibana privileges are additionally required\u003c/p\u003e\u003cul\u003e\u003cli\u003eUnder \u003ccode\u003eFleet\u003c/code\u003e\u0026nbsp;the \u003ccode\u003eAll\u003c/code\u003e\u0026nbsp;privilege is granted\u003c/li\u003e\u003cli\u003eUnder \u003ccode\u003eIntegration\u003c/code\u003e\u0026nbsp;the \u003ccode\u003eRead\u003c/code\u003e\u0026nbsp;or \u003ccode\u003eAll\u003c/code\u003e\u0026nbsp;privilege is granted\u003c/li\u003e\u003cli\u003eAccess to the \u003ccode\u003efleet-setup\u003c/code\u003e\u0026nbsp;privilege is gained through the Fleet Server\u2019s service account token\u003c/li\u003e\u003c/ul\u003e\u003cp\u003e\u003c/p\u003e\u003cbr\u003e"
}
],
"value": "A deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document containing a crafted payload. A successful attack requires a malicious user to have a combination of both specific Elasticsearch indices privileges https://www.elastic.co/guide/en/elasticsearch/reference/current/defining-roles.html#roles-indices-priv \u00a0and Kibana privileges https://www.elastic.co/guide/en/fleet/current/fleet-roles-and-privileges.html \u00a0assigned to them.\n\n\n\nThe following Elasticsearch indices permissions are required\n\n * write\u00a0privilege on the system indices .kibana_ingest*\n * The allow_restricted_indices\u00a0flag is set to true\n\n\nAny of the following Kibana privileges are additionally required\n\n * Under Fleet\u00a0the All\u00a0privilege is granted\n * Under Integration\u00a0the Read\u00a0or All\u00a0privilege is granted\n * Access to the fleet-setup\u00a0privilege is gained through the Fleet Server\u2019s service account token"
}
],
"impacts": [
{
"capecId": "CAPEC-253",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-253 Remote Code Inclusion"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-502",
"description": "CWE-502 Deserialization of Untrusted Data",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-11-14T16:54:35.562Z",
"orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"shortName": "elastic"
},
"references": [
{
"url": "https://discuss.elastic.co/t/kibana-8-15-1-security-update-esa-2024-27-esa-2024-28/366119"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Kibana arbitrary code execution via YAML deserialization",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"assignerShortName": "elastic",
"cveId": "CVE-2024-37285",
"datePublished": "2024-11-14T16:49:16.594Z",
"dateReserved": "2024-06-05T14:21:14.942Z",
"dateUpdated": "2024-11-14T18:48:27.837Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-37285\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-11-14T18:46:46.588026Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:elastic:kibana:-:*:*:*:*:*:*:*\"], \"vendor\": \"elastic\", \"product\": \"kibana\", \"versions\": [{\"status\": \"affected\", \"version\": \"8.10.0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"8.15.0\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-11-14T18:48:20.126Z\"}}], \"cna\": {\"title\": \"Kibana arbitrary code execution via YAML deserialization\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"impacts\": [{\"capecId\": \"CAPEC-253\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-253 Remote Code Inclusion\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 9.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"Elastic\", \"product\": \"Kibana\", \"versions\": [{\"status\": \"affected\", \"version\": \"8.10.0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"8.15.0\"}], \"defaultStatus\": \"unaffected\"}], \"datePublic\": \"2024-09-05T15:42:00.000Z\", \"references\": [{\"url\": \"https://discuss.elastic.co/t/kibana-8-15-1-security-update-esa-2024-27-esa-2024-28/366119\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"A deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document containing a crafted payload. A successful attack requires a malicious user to have a combination of both specific Elasticsearch indices privileges https://www.elastic.co/guide/en/elasticsearch/reference/current/defining-roles.html#roles-indices-priv \\u00a0and Kibana privileges https://www.elastic.co/guide/en/fleet/current/fleet-roles-and-privileges.html \\u00a0assigned to them.\\n\\n\\n\\nThe following Elasticsearch indices permissions are required\\n\\n * write\\u00a0privilege on the system indices .kibana_ingest*\\n * The allow_restricted_indices\\u00a0flag is set to true\\n\\n\\nAny of the following Kibana privileges are additionally required\\n\\n * Under Fleet\\u00a0the All\\u00a0privilege is granted\\n * Under Integration\\u00a0the Read\\u00a0or All\\u00a0privilege is granted\\n * Access to the fleet-setup\\u00a0privilege is gained through the Fleet Server\\u2019s service account token\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eA deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document containing a crafted payload. A successful attack requires a malicious user to have a combination of both specific \u003ca target=\\\"_blank\\\" rel=\\\"nofollow\\\" href=\\\"https://www.elastic.co/guide/en/elasticsearch/reference/current/defining-roles.html#roles-indices-priv\\\"\u003eElasticsearch indices privileges\u003c/a\u003e\u0026nbsp;and \u003ca target=\\\"_blank\\\" rel=\\\"nofollow\\\" href=\\\"https://www.elastic.co/guide/en/fleet/current/fleet-roles-and-privileges.html\\\"\u003eKibana privileges\u003c/a\u003e\u0026nbsp;assigned to them.\u003cbr\u003e\u003cbr\u003e\u003c/p\u003e\u003cp\u003eThe following Elasticsearch indices permissions are required\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003ccode\u003ewrite\u003c/code\u003e\u0026nbsp;privilege on the system indices \u003ccode\u003e.kibana_ingest*\u003c/code\u003e\u003c/li\u003e\u003cli\u003eThe \u003ccode\u003eallow_restricted_indices\u003c/code\u003e\u0026nbsp;flag is set to \u003ccode\u003etrue\u003c/code\u003e\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eAny of the following Kibana privileges are additionally required\u003c/p\u003e\u003cul\u003e\u003cli\u003eUnder \u003ccode\u003eFleet\u003c/code\u003e\u0026nbsp;the \u003ccode\u003eAll\u003c/code\u003e\u0026nbsp;privilege is granted\u003c/li\u003e\u003cli\u003eUnder \u003ccode\u003eIntegration\u003c/code\u003e\u0026nbsp;the \u003ccode\u003eRead\u003c/code\u003e\u0026nbsp;or \u003ccode\u003eAll\u003c/code\u003e\u0026nbsp;privilege is granted\u003c/li\u003e\u003cli\u003eAccess to the \u003ccode\u003efleet-setup\u003c/code\u003e\u0026nbsp;privilege is gained through the Fleet Server\\u2019s service account token\u003c/li\u003e\u003c/ul\u003e\u003cp\u003e\u003c/p\u003e\u003cbr\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-502\", \"description\": \"CWE-502 Deserialization of Untrusted Data\"}]}], \"providerMetadata\": {\"orgId\": \"271b6943-45a9-4f3a-ab4e-976f3fa05b5a\", \"shortName\": \"elastic\", \"dateUpdated\": \"2024-11-14T16:54:35.562Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-37285\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-11-14T18:48:27.837Z\", \"dateReserved\": \"2024-06-05T14:21:14.942Z\", \"assignerOrgId\": \"271b6943-45a9-4f3a-ab4e-976f3fa05b5a\", \"datePublished\": \"2024-11-14T16:49:16.594Z\", \"assignerShortName\": \"elastic\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…