CVE-2017-8438 (GCVE-0-2017-8438)
Vulnerability from cvelistv5 – Published: 2017-06-05 14:00 – Updated: 2024-08-05 16:34
VLAI?
Summary
Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.
Severity ?
No CVSS data available.
CWE
- CWE-284 - Improper Access Control
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Elastic | X-Pack Security |
Affected:
5.0.0 to 5.4.0
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T16:34:22.961Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://www.elastic.co/community/security"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "X-Pack Security",
"vendor": "Elastic",
"versions": [
{
"status": "affected",
"version": "5.0.0 to 5.4.0"
}
]
}
],
"datePublic": "2017-06-01T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-284",
"description": "CWE-284: Improper Access Control",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2017-06-05T13:57:01",
"orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"shortName": "elastic"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://www.elastic.co/community/security"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "security@elastic.co",
"ID": "CVE-2017-8438",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "X-Pack Security",
"version": {
"version_data": [
{
"version_value": "5.0.0 to 5.4.0"
}
]
}
}
]
},
"vendor_name": "Elastic"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-284: Improper Access Control"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952",
"refsource": "CONFIRM",
"url": "https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952"
},
{
"name": "https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released",
"refsource": "CONFIRM",
"url": "https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released"
},
{
"name": "https://www.elastic.co/community/security",
"refsource": "CONFIRM",
"url": "https://www.elastic.co/community/security"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"assignerShortName": "elastic",
"cveId": "CVE-2017-8438",
"datePublished": "2017-06-05T14:00:00",
"dateReserved": "2017-05-02T00:00:00",
"dateUpdated": "2024-08-05T16:34:22.961Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"fkie_nvd": {
"configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.0.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"C15893C0-5FFF-4A60-940F-C69EBF60CE62\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.0.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"BFE40EC5-19CF-4DDC-98CF-DEA035CBBDED\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.0.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"F2ABFD3F-65B8-45CA-8AA0-DD9FC0E668E5\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.1.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"26C9B833-CFB8-4CC3-A28D-E5320276E5D6\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.1.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"444B1E15-1BEF-479B-8DEA-1DB5ACE7C051\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.2.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"BF9945D4-5B3B-41B3-9F94-DB11A8F7E262\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.2.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"C26D394C-DE12-489F-B7E1-DF4C28BB404B\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.2.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"109A47C4-A688-4712-969F-08859B2A7923\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.3.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"761A9E6A-DBC5-48E4-8A79-A90F65C28E0F\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.3.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"8BAAB65B-1C7C-4929-ACAA-9993E1626FF6\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.3.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"BE9F72ED-C37A-435D-9253-801C97C50753\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.3.3:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"965A9F08-9C79-436D-98BA-DAC4F5D71EF7\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:elastic:x-pack:5.4.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"86D9F09D-81BD-4B6E-8016-E6EAF2D68E5D\"}]}]}]",
"descriptions": "[{\"lang\": \"en\", \"value\": \"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.\"}, {\"lang\": \"es\", \"value\": \"Las versiones 5.0.0 hasta 5.4.0 de Elastic X-Pack Security contienen un error de escalaci\\u00f3n de privilegios en la funcionalidad run_as. Este error impide la transici\\u00f3n al usuario establecido, especificado en una petici\\u00f3n de run_as. Si un rol ha sido creado utilizando una plantilla que contiene las propiedades de _user, el comportamiento de run_as ser\\u00e1 incorrecto. Adem\\u00e1s, si el usuario run_as especificado no existe, la transici\\u00f3n no se pasar\\u00e1.\"}]",
"id": "CVE-2017-8438",
"lastModified": "2024-11-21T03:34:01.030",
"metrics": "{\"cvssMetricV30\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.0\", \"vectorString\": \"CVSS:3.0/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}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:L/Au:S/C:P/I:P/A:P\", \"baseScore\": 6.5, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"LOW\", \"authentication\": \"SINGLE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"PARTIAL\", \"availabilityImpact\": \"PARTIAL\"}, \"baseSeverity\": \"MEDIUM\", \"exploitabilityScore\": 8.0, \"impactScore\": 6.4, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}",
"published": "2017-06-05T14:29:00.280",
"references": "[{\"url\": \"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952\", \"source\": \"bressers@elastic.co\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released\", \"source\": \"bressers@elastic.co\", \"tags\": [\"Patch\", \"Vendor Advisory\"]}, {\"url\": \"https://www.elastic.co/community/security\", \"source\": \"bressers@elastic.co\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\", \"Vendor Advisory\"]}, {\"url\": \"https://www.elastic.co/community/security\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Vendor Advisory\"]}]",
"sourceIdentifier": "bressers@elastic.co",
"vulnStatus": "Modified",
"weaknesses": "[{\"source\": \"bressers@elastic.co\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-284\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-269\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2017-8438\",\"sourceIdentifier\":\"bressers@elastic.co\",\"published\":\"2017-06-05T14:29:00.280\",\"lastModified\":\"2025-04-20T01:37:25.860\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.\"},{\"lang\":\"es\",\"value\":\"Las versiones 5.0.0 hasta 5.4.0 de Elastic X-Pack Security contienen un error de escalaci\u00f3n de privilegios en la funcionalidad run_as. Este error impide la transici\u00f3n al usuario establecido, especificado en una petici\u00f3n de run_as. Si un rol ha sido creado utilizando una plantilla que contiene las propiedades de _user, el comportamiento de run_as ser\u00e1 incorrecto. Adem\u00e1s, si el usuario run_as especificado no existe, la transici\u00f3n no se pasar\u00e1.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/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}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:S/C:P/I:P/A:P\",\"baseScore\":6.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"bressers@elastic.co\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-284\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-269\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C15893C0-5FFF-4A60-940F-C69EBF60CE62\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BFE40EC5-19CF-4DDC-98CF-DEA035CBBDED\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.0.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F2ABFD3F-65B8-45CA-8AA0-DD9FC0E668E5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.1.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"26C9B833-CFB8-4CC3-A28D-E5320276E5D6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.1.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"444B1E15-1BEF-479B-8DEA-1DB5ACE7C051\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BF9945D4-5B3B-41B3-9F94-DB11A8F7E262\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.2.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C26D394C-DE12-489F-B7E1-DF4C28BB404B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.2.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"109A47C4-A688-4712-969F-08859B2A7923\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.3.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"761A9E6A-DBC5-48E4-8A79-A90F65C28E0F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.3.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8BAAB65B-1C7C-4929-ACAA-9993E1626FF6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.3.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BE9F72ED-C37A-435D-9253-801C97C50753\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.3.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"965A9F08-9C79-436D-98BA-DAC4F5D71EF7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:elastic:x-pack:5.4.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"86D9F09D-81BD-4B6E-8016-E6EAF2D68E5D\"}]}]}],\"references\":[{\"url\":\"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952\",\"source\":\"bressers@elastic.co\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released\",\"source\":\"bressers@elastic.co\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://www.elastic.co/community/security\",\"source\":\"bressers@elastic.co\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://www.elastic.co/community/security\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]}]}}"
}
}
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…