CVE-2018-1285

Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files

published May 11, 2020

CVSS
—
EPSS
18%
Percentile
97.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky flaw lurks in log4net before version 2.0.10 that could let an attacker peek into files through a simple configuration change! Think of it like an invitation to a party that also includes a request for the host's house keys — if the host doesn’t check the guest list, they might just let anyone through the door! An attacker could exploit this vulnerability to access sensitive information, essentially reading any files the application has permission to access. This could lead to data breaches or exposing confidential logs, which is absolutely devastating for any organization!

Put simply

Think of it like an invitation to a party that also includes a request for the host's house keys — if the host doesn’t check the guest list, they might just let anyone through the door! This vulnerability arises from log4net's failure to disable XML external entities (XXE) in its configuration files, allowing attackers to craft malicious configuration inputs that could fetch any file on the server.

What to do

An attacker could exploit this vulnerability to access sensitive information, essentially reading any files the application has permission to access. This could lead to data breaches or exposing confidential logs, which is absolutely devastating for any organization! Update log4net to version 2.0.10 or higher to disable external entity processing. Review and validate your configuration files to ensure no malicious content can slip through! You've got this! Follow these steps and you'll have your log4net secured in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.17823 · 97.2th percentile
Published
2020-05-11T16:41Z
EPSS history
Timeline
  • 11 MAY 16:41Z
    Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files
    cvelistv5