XXE in Apache Log4net
CVE-2018-1285
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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.178 (97.2th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.174 · newest: 0.178 · change: +0.005
Affected products
- Apache Log4net
- NetApp Manageability Software Development Kit
- NetApp Snapcenter
- Oracle Application Testing Suite — versions 13.3.0.1
- Oracle Hospitality Opera 5 — versions 5.5, 5.6
- Oracle Hospitality Simphony — versions 18.2.7.2, 19.1.3
- Fedoraproject Fedora — versions 30, 31, 32
- Apache Log4net — versions Apache log4net up to 2.0.8
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.apache.org/thread.html/r33564de316d4e4ba0fea1d4d079e62cde1ffe64369c115724… (mailing-list)
- lists.apache.org/thread.html/r9de86a185575e6c5f92e2a70a1d2e2e9514dc4341251577aa… (mailing-list)
- lists.apache.org/thread.html/r6543acafca3e2d24ff4b0c364a91540cb9378977ffa8d37a0… (mailing-list)
- lists.apache.org/thread.html/r7ab6b6e702f11a6f77b0db2af2d5e5532f56ae4b99b5fe73c… (mailing-list)
- lists.apache.org/thread.html/rdbac24c945ca5c69cd5348b5ac023bc625768f653335de146… (mailing-list)
- lists.apache.org/thread.html/rd2d72a017e238d1f345f9d14e075c81be16fc68a41c9e9ad9… (mailing-list)
- lists.apache.org/thread.html/r00b16ac5e0bbf7009a0d167ed58f3f94d0033b0f4b3e3d502… (mailing-list)
Frequently asked questions
- What is CVE-2018-1285?
- CVE-2018-1285 is a critical-severity vulnerability in Apache Log4net, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 9.8/10. Published 2020-05-11.
- How severe is CVE-2018-1285?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2018-1285 known to be exploited?
- 11 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.