CVE-2018-1047 Improper Input Validation in org.wildfly:wildfly-undertow

Medium 5.5 Published Updated

Attackers can exploit a path traversal flaw in Wildfly to read arbitrary local files, leading to information disclosure.

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-2018-1047?

CVE-2018-1047 is a medium-severity path traversal vulnerability in Redhat Jboss Enterprise Application Platform, published on 24 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in Wildfly 9.x. A path traversal vulnerability through the org.wildfly.extension.undertow.deployment.ServletResourceManager.getResource method could lead to information disclosure of arbitrary local files.

Weakness: CWE-22, CWE-20

Which versions are affected by CVE-2018-1047?

2 open source packages ship an affected version, including org.wildfly:wildfly-undertow. It affects 2 products.

PackageAffectedFixed in
org.wildfly:wildfly-undertow MavenAll versions12.0.0
org.wildfly:wildfly-undertow MavenAll versions12.0.0

Products include Redhat Jboss Enterprise Application Platform, Redhat Jboss Wildfly Application Server.

How do I fix CVE-2018-1047?

Upgrade org.wildfly:wildfly-undertow to 12.0.0 or later.

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

Is CVE-2018-1047 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Redhat Jboss Enterprise Application Platform vulnerabilities

Sources

Also known as GHSA-fmr4-w67p-vh8x, UBUNTU-CVE-2018-1047.

Is CVE-2018-1047 in your software?

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

Check your SBOMs for free