CVE-2016-0793 WildFly has incomplete blacklist vulnerability

High 7.5 Published Updated

Remote attackers can read sensitive WEB-INF and META-INF files in WildFly on Windows by bypassing servlet filter restrictions using case variations or special characters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-0793?

CVE-2016-0793 is a high-severity path traversal vulnerability in n/a, published on 1 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Incomplete blacklist vulnerability in the servlet filter restriction mechanism in WildFly (formerly JBoss Application Server) before 10.0.0.Final on Windows allows remote attackers to read the sensitive files in the (1) WEB-INF or (2) META-INF directory via a request that contains (a) lowercase or (b) "meaningless" characters.

Weakness: CWE-200

Which versions are affected by CVE-2016-0793?

4 open source packages ship an affected version, including org.wildfly:wildfly-parent and org.wildfly:wildfly-undertow. It affects 1 product.

PackageAffectedFixed in
org.wildfly:wildfly-parent MavenAll versions10.0.0.Final
org.wildfly:wildfly-parent MavenAll versions10.0.0.Final
org.wildfly:wildfly-undertow MavenAll versions10.0.0.Final
org.wildfly:wildfly-undertow MavenAll versions10.0.0.Final

Products include Redhat Jboss Wildfly Application Server.

How do I fix CVE-2016-0793?

Upgrade org.wildfly:wildfly-parent to 10.0.0.Final or later.

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

Is CVE-2016-0793 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-0793 exists.

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-9q87-22gr-r8qf.

Is CVE-2016-0793 in your software?

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

Check your SBOMs for free