CVE-2018-1047 Improper Input Validation in org.wildfly:wildfly-undertow
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
org.wildfly:wildfly-undertow Maven | All versions | 12.0.0 |
org.wildfly:wildfly-undertow Maven | All versions | 12.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.
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 GHSA-fmr4-w67p-vh8x, UBUNTU-CVE-2018-1047.