CVE-2018-12536

Medium

Description

In Eclipse Jetty Server, all 9.x versions, on webapps deployed using default Error Handling, when an intentionally bad query arrives that doesn't match a dynamic url-pattern, and is eventually handled by the DefaultServlet's static file serving, the bad characters can trigger a java.nio.file.InvalidPathException which includes the full path to the base resource directory that the DefaultServlet and/or webapp is using. If this InvalidPathException is then handled by the default Error Handler, the InvalidPathException message is included in the error response, revealing the full server path to the requesting system.

SeverityMedium
CVSS5.3
Exploit probability—
ProductEclipse Jetty
PublishedJun 27, 2018
First seenJun 27, 2018
Weakness typeCWE-209CWE-209

How to fix

Update
  • eclipse jetty9.3.24, 9.4.11 or later
  • org.eclipse.jetty:jetty-server9.4.11.v20180605, 9.3.24.v20180605 or later

Affected products

ProductAffected versionsFixed in
eclipse jetty9.0.0 ≤ v ≤ 9.2.26, 9.3.0 ≤ v < 9.3.24, 9.4.0 ≤ v < 9.4.119.3.24, 9.4.11
oracle retail_xstore_point_of_service7.1, 15.0, 16.0.0, 17.0—
org.eclipse.jetty:jetty-serverMaven9.4.0 ≤ v < 9.4.11.v20180605, 9.0.0 ≤ v < 9.3.24.v201806059.4.11.v20180605, 9.3.24.v20180605

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.