CVE-2018-12536

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.

Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N · source nvd
Exploit chance (EPSS)
4.235%
chance of exploitation in the next 30 days
higher than 91.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2018-06-27Published by the CNA17:00 UTC
  2. 2018-10-19GitHub advisory published (GHSA-9rgv-h7x4-qw8g)114 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-9rgv-h7x4-qw8g, affected packages:

PackageVulnerable versionsFixed in
Maven org.eclipse.jetty:jetty-serverfrom 9.0.0 before 9.3.24.v201806059.3.24.v20180605
Maven org.eclipse.jetty:jetty-serverfrom 9.4.0 before 9.4.11.v201806059.4.11.v20180605

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
eclipse jettyfrom 9.3.0 before 9.3.24fixed in 9.3.24from 9.4.0 before 9.4.11fixed in 9.4.11from 9.0.0 through 9.2.26no fix listed9.3.249.4.11not listed
oracle retail_xstore_point_of_service15.0no fix listed16.0.0no fix listed17.0no fix listed7.1no fix listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources