CVE-2018-12536

jetty: full server path revealed when using the default Error Handling

Published Jun 27, 2018 CVSS 3.1 · 5.3 Medium EPSS 4.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2661-1 jetty9 security update
EUVD EUVD EUVD-2018-0567 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.
Github GHSA Github GHSA GHSA-9rgv-h7x4-qw8g Eclipse Jetty Server generates error message containing sensitive information
History
Type Values Removed Values Added
Metrics epss

{'score': 0.02346}

epss

{'score': 0.03618}

Weaknesses

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Aug 5, 2024, 8:38 AM
Reserved
Jun 18, 2018, 12:00 AM
Status
Modified
Published
Jun 27, 2018, 5:29 PM
Modified
Jun 17, 2026, 1:37 AM
Severity
Low
Public date
Jun 27, 2018, 12:00 AM