CVE Vulnerabilities

CVE-2018-1285

Improper Restriction of XML External Entity Reference

Published: May 11, 2020 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/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
Ubuntu
MEDIUM

Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files. This allows for XXE-based attacks in applications that accept attacker-controlled log4net configuration files.

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
Log4net Apache * 2.0.10 (excluding)
Log4net Ubuntu bionic *
Log4net Ubuntu eoan *
Log4net Ubuntu esm-apps/bionic *
Log4net Ubuntu esm-apps/focal *
Log4net Ubuntu esm-apps/jammy *
Log4net Ubuntu esm-apps/xenial *
Log4net Ubuntu focal *
Log4net Ubuntu groovy *
Log4net Ubuntu hirsute *
Log4net Ubuntu impish *
Log4net Ubuntu jammy *
Log4net Ubuntu kinetic *
Log4net Ubuntu trusty *
Log4net Ubuntu upstream *
Log4net Ubuntu xenial *

Potential Mitigations

References