CVE Vulnerabilities

CVE-2018-11788

Improper Restriction of XML External Entity Reference

Published: Jan 07, 2019 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.3 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu

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 doesnt 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.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

Name Vendor Start Version End Version
Karaf Apache * 4.1.7 (excluding)
Karaf Apache 4.2.0 (including) 4.2.1 (including)
Karaf Apache 4.2.0-milestone1 (including) 4.2.0-milestone1 (including)
Karaf Apache 4.2.0-milestone2 (including) 4.2.0-milestone2 (including)

Potential Mitigations

References