Description
The XMLFileLookupService in NiFi versions 1.3.0 to 1.9.2 allowed trusted users to inadvertently configure a potentially malicious XML file. The XML file has the ability to make external calls to services (via XXE) and reveal information such as the versions of Java, Jersey, and Apache that the NiFI instance uses.
Remediation
References
https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E
https://nifi.apache.org/security.html#CVE-2019-10080
https://www.oracle.com/security-alerts/cpuApr2021.html
Related Vulnerabilities
CVE-2021-21342 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2015-5254 Vulnerability in maven package org.apache.activemq:activemq-all
CVE-2014-8122 Vulnerability in maven package org.jboss.weld:weld-core
CVE-2021-32731 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web
CVE-2017-5635 Vulnerability in maven package org.apache.nifi:nifi-framework-authorization