XXE attack in Elasticsearch - CVE-2018-17247

 

XXE attack in Elasticsearch - CVE-2018-17247

Published: December 19, 2018


Vulnerability identifier: #VU16604
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-17247
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Elastic Stack
Affected software:
Elasticsearch

Detailed vulnerability description

The vulnerability allows a remote attacker to conduct XXE-attack.

The vulnerability exists in Machine Learning’s find_file_structure API due to improper handling of XML External Entities (XXEs) when parsing an XML file if a policy allowing external network access has been added to Elasticsearch’s Java Security Manager. A remote attacker can trick the victim into opening an XML file that submits malicious input and obtain potentially sensitive information.


How to mitigate CVE-2018-17247

Update to version 6.5.2.

Sources