CVE-2018-11759 Path traversal in Apache Tomcat Connectors

High 7.5 Published Updated

Attackers can bypass access controls and expose unintended application functionality via the reverse proxy due to improper path normalization in mod_jk.

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

CVE-2018-11759 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 31 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Apache Web Server (httpd) specific code that normalised the requested path before matching it to the URI-worker map in Apache Tomcat JK (mod_jk) Connector 1.2.0 to 1.2.44 did not handle some edge cases correctly. If only a sub-set of the URLs supported by Tomcat were exposed via httpd, then it was possible for a specially constructed request to expose application functionality through the reverse proxy that was not intended for clients accessing the application via the reverse proxy. It was also possible in some configurations for a specially constructed request to bypass the access controls configured in httpd. While there is some overlap between this issue and CVE-2018-1323, they are not identical.

Weakness: CWE-22

Which versions are affected by CVE-2018-11759?

It affects 3 products.

Linux distribution packages (7)
apache2-mod_jk SUSE:Linux Enterprise Module for Server Applications 15All versions1.2.43-3.3.1
apache2-mod_jk SUSE:Linux Enterprise Module for Server Applications 15 SP4All versions1.2.49-150100.6.6.1
apache2-mod_jk SUSE:Linux Enterprise Module for Server Applications 15 SP5All versions1.2.49-150100.6.6.1
apache2-mod_jk SUSE:Linux Enterprise Server 12 SP4All versions1.2.40-7.3.1
apache2-mod_jk SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.2.40-7.3.1
apache2-mod_jk openSUSE:Leap 15.4All versions1.2.49-150100.6.6.1
apache2-mod_jk openSUSE:Leap 15.5All versions1.2.49-150100.6.6.1

Products include Apache Tomcat Jk Connector, Debian Debian Linux, Redhat Jboss Core Services.

How do I fix CVE-2018-11759?

Upgrade to a fixed version.

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

Is CVE-2018-11759 being exploited?

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

Public exploit code: 1 Nuclei template and 3 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-11759, DLA-1609-1, DSA-4357-1, GHSA-5q2c-33mg-8m75, SUSE-SU-2018:3963-2, SUSE-SU-2018:3969-1 and 1 more.

Is CVE-2018-11759 in your software?

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

Check your SBOMs for free