CVE-2019-18393 Ignite Realtime Openfire directory traversal vulnerability

Medium 5.3 Published Updated

Attackers can read arbitrary files outside the Openfire home directory via directory traversal in PluginServlet.java.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-18393?

CVE-2019-18393 is a medium-severity path traversal vulnerability in n/a, published on 24 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PluginServlet.java in Ignite Realtime Openfire through 4.4.2 does not ensure that retrieved files are located under the Openfire home directory, aka a directory traversal vulnerability.

Weakness: CWE-22

Which versions are affected by CVE-2019-18393?

2 open source packages ship an affected version, including org.igniterealtime.openfire:parent. It affects 1 product.

PackageAffectedFixed in
org.igniterealtime.openfire:parent MavenAll versions4.5.0-beta
org.igniterealtime.openfire:parent MavenAll versions4.5.0-beta

Products include Igniterealtime Openfire.

How do I fix CVE-2019-18393?

Upgrade org.igniterealtime.openfire:parent to 4.5.0-beta or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-18393 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-18393 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-59h8-h34r-q9cv.

Is CVE-2019-18393 in your software?

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

Check your SBOMs for free