XML External Entity injection in Elastic App Search web crawler



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-22140
CWE-ID CWE-611
Exploitation vector Network
Public exploit N/A
Vulnerable software
App Search web crawler
Client/Desktop applications / Other client software

Vendor Elastic Stack

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) XML External Entity injection

EUVDB-ID: #VU52692

Risk: Medium

CVSSv4.0: 4.6 [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 - Improper Restriction of XML External Entity Reference ('XXE')

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

App Search web crawler: before 7.12.1

CPE2.3 External links

http://www.elastic.co/community/security#ESA-2021-11


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###