CVE-2018-1323 Path traversal in Apache Tomcat Connectors

High 7.5 Published Updated

Attackers can bypass reverse proxy restrictions to access unintended Tomcat functionality via path traversal in the ISAPI connector.

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

CVE-2018-1323 is a high-severity path traversal vulnerability in Apache Tomcat Connectors, published on 12 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The IIS/ISAPI specific code in the Apache Tomcat JK ISAPI Connector 1.2.0 to 1.2.42 that normalised the requested path before matching it to the URI-worker map did not handle some edge cases correctly. If only a sub-set of the URLs supported by Tomcat were exposed via IIS, then it was possible for a specially constructed request to expose application functionality through the reverse proxy that was not intended for clients accessing Tomcat via the reverse proxy.

Weakness: CWE-22, CWE-200

Which versions are affected by CVE-2018-1323?

It affects 1 product.

Products include Apache Tomcat Jk Connector.

How do I fix CVE-2018-1323?

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-1323 being exploited?

There is no known exploitation of CVE-2018-1323 in the wild and no public exploit code.

Sources

Also known as GHSA-jxj8-3w7h-p8mx.

Is CVE-2018-1323 in your software?

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

Check your SBOMs for free