XML External Entity injection in App Search web crawler - CVE-2021-22140

 

XML External Entity injection in App Search web crawler - CVE-2021-22140

Published: April 28, 2021


Vulnerability identifier: #VU52692
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-22140
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Elastic Stack
Affected software:
App Search web crawler

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input in Enterprise Search. A remote attacker whose website is being crawled by App Search can craft a malicious sitemap.xml to traverse the filesystem of the host running the instance and obtain sensitive files.


How to mitigate CVE-2021-22140

Install updates from vendor's website.

Sources