CVE-2018-14371 Path Traversal in Eclipse Mojarra

High 7.5 Published Updated

Remote attackers can exploit a directory traversal flaw in Eclipse Mojarra to download sensitive configuration files or Java bytecodes from applications.

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

What is CVE-2018-14371?

CVE-2018-14371 is a high-severity path traversal vulnerability in n/a, published on 18 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The getLocalePrefix function in ResourceManager.java in Eclipse Mojarra before 2.3.7 is affected by Directory Traversal via the loc parameter. A remote attacker can download configuration files or Java bytecodes from applications.

Weakness: CWE-22

Which versions are affected by CVE-2018-14371?

2 open source packages ship an affected version, including org.glassfish:mojarra-parent. It affects 1 product.

PackageAffectedFixed in
org.glassfish:mojarra-parent MavenAll versions2.3.7
org.glassfish:mojarra-parent MavenAll versions2.3.7

Products include Eclipse Mojarra.

How do I fix CVE-2018-14371?

Upgrade org.glassfish:mojarra-parent to 2.3.7 or later.

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

Is CVE-2018-14371 being exploited?

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

Sources

Also known as GHSA-43q7-q5vp-3g68, UBUNTU-CVE-2018-14371.

Is CVE-2018-14371 in your software?

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

Check your SBOMs for free