CVE-2018-1048 Improper Limitation of a Pathname to a Restricted Directory in Jboss EAP Undertow
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jboss.eap:wildfly-undertow Maven | From 7.1.0.GA | 7.1.1.GA |
org.jboss.eap:wildfly-undertow Maven | From 7.1.0.GA | 7.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.
Other vulnerabilities in Redhat Jboss Enterprise Application Platform
- CVE-2017-12149 Red Hat JBoss Application Server Remote Code Execution
- CVE-2010-1428 Red Hat JBoss Information Disclosure
- CVE-2010-0738 Red Hat JBoss Authentication Bypass
- CVE-2016-3690 Deserialization in n/a
- CVE-2017-7504 Deserialization in JBoss
All Redhat Jboss Enterprise Application Platform vulnerabilities
Sources
Also known as DEBIAN-CVE-2018-1048, GHSA-prfw-3qx6-g9xr, UBUNTU-CVE-2018-1048.