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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Log4netApache*2.0.10 (excluding)
Log4netUbuntubionic*
Log4netUbuntueoan*
Log4netUbuntuesm-apps/bionic*
Log4netUbuntuesm-apps/focal*
Log4netUbuntuesm-apps/jammy*
Log4netUbuntuesm-apps/xenial*
Log4netUbuntufocal*
Log4netUbuntugroovy*
Log4netUbuntuhirsute*
Log4netUbuntuimpish*
Log4netUbuntujammy*
Log4netUbuntukinetic*
Log4netUbuntutrusty*
Log4netUbuntuupstream*
Log4netUbuntuxenial*

Potential Mitigations

References