CVE-2019-12415 Improper Restriction of XML External Entity Reference in Apache POI

Medium 5.5 Published Updated

Attackers can read local files or internal network resources by crafting malicious Excel documents processed by Apache POI's XSSFExportToXml tool.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-12415?

CVE-2019-12415 is a medium-severity vulnerability in Oracle Application Testing Suite, published on 23 Oct 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Apache POI up to 4.1.0, when using the tool XSSFExportToXml to convert user-provided Microsoft Excel documents, a specially crafted document can allow an attacker to read files from the local filesystem or from internal network resources via XML External Entity (XXE) Processing.

Weakness: CWE-611

Which versions are affected by CVE-2019-12415?

2 open source packages ship an affected version, including org.apache.poi:poi. It affects 27 products.

PackageAffectedFixed in
org.apache.poi:poi MavenAll versions4.1.1
org.apache.poi:poi MavenAll versions4.1.1

Products include Apache Poi, Oracle Application Testing Suite, Oracle Banking Enterprise Originations, Oracle Banking Enterprise Product Manufacturing, Oracle Banking Payments, Oracle Banking Platform and 21 more.

How do I fix CVE-2019-12415?

Upgrade org.apache.poi:poi to 4.1.1 or later.

Is CVE-2019-12415 being exploited?

There is no known exploitation of CVE-2019-12415 in the wild and no public exploit code.

All Oracle Application Testing Suite vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-12415, GHSA-9jwc-q6j3-8g9g, UBUNTU-CVE-2019-12415.

Is CVE-2019-12415 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free