CVE-2018-1048 Improper Limitation of a Pathname to a Restricted Directory in Jboss EAP Undertow

High 7.5 Published Updated

Attackers can exploit the AJP connector to perform path traversal and read arbitrary local files on JBoss EAP servers.

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-1048?

CVE-2018-1048 is a high-severity path traversal vulnerability in Redhat Jboss Enterprise Application Platform, published on 24 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

It was found that the AJP connector in undertow, as shipped in Jboss EAP 7.1.0.GA, does not use the ALLOW_ENCODED_SLASH option and thus allow the the slash / anti-slash characters encoded in the url which may lead to path traversal and result in the information disclosure of arbitrary local files.

Weakness: CWE-116, CWE-22

Which versions are affected by CVE-2018-1048?

2 open source packages ship an affected version, including org.jboss.eap:wildfly-undertow. It affects 1 product.

PackageAffectedFixed in
org.jboss.eap:wildfly-undertow MavenFrom 7.1.0.GA7.1.1.GA
org.jboss.eap:wildfly-undertow MavenFrom 7.1.0.GA7.1.1.GA

Products include Redhat Jboss Enterprise Application Platform.

How do I fix CVE-2018-1048?

Upgrade org.jboss.eap:wildfly-undertow to 7.1.1.GA or later.

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

Is CVE-2018-1048 being exploited?

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

All Redhat Jboss Enterprise Application Platform vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-1048, GHSA-prfw-3qx6-g9xr, UBUNTU-CVE-2018-1048.

Is CVE-2018-1048 in your software?

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

Check your SBOMs for free