CVE-2018-10862 Improper Limitation of a Pathname to a Restricted Directory in WildFly
Attackers can overwrite arbitrary files via crafted .war archives in WildFly Core, potentially leading to code execution or data modification.
- 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-10862?
CVE-2018-10862 is a medium-severity path traversal vulnerability in Redhat Jboss Enterprise Application Platform, published on 27 Jul 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
WildFly Core before version 6.0.0.Alpha3 does not properly validate file paths in .war archives, allowing for the extraction of crafted .war archives to overwrite arbitrary files. This is an instance of the 'Zip Slip' vulnerability.
Weakness: CWE-22
Which versions are affected by CVE-2018-10862?
2 open source packages ship an affected version, including org.wildfly.core:wildfly-server. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
org.wildfly.core:wildfly-server Maven | All versions | 6.0.0.Alpha3 |
org.wildfly.core:wildfly-server Maven | All versions | 6.0.0.Alpha3 |
Products include Redhat Jboss Enterprise Application Platform, Redhat Virtualization, Redhat Wildfly Core.
How do I fix CVE-2018-10862?
Upgrade org.wildfly.core:wildfly-server to 6.0.0.Alpha3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-10862 being exploited?
There is no known exploitation of CVE-2018-10862 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 GHSA-w8r2-5j8x-x8j6.