Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2018-11788 EUVD-2019-0180GHSA-92wj-x78c-m4fx

XML External Entity Reference in Apache Karaf

Published Jan 7, 2019 · Updated Aug 5, 2024 · Assigned by apache

Description

Apache Karaf provides a features deployer, which allows users to "hot deploy" a features XML by dropping the file directly in the deploy folder. The features XML is parsed by XMLInputFactory class. Apache Karaf XMLInputFactory class doesn't contain any mitigation codes against XXE. This is a potential security risk as an user can inject external XML entities in Apache Karaf version prior to 4.1.7 or 4.2.2. It has been fixed in Apache Karaf 4.1.7 and 4.2.2 releases.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Karaf Any Apache Karaf version prior to 4.1.7 and 4.2.2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

References