Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1597418 - (CVE-2018-12536) CVE-2018-12536 jetty: full server path revealed when using the default Error Handling
CVE-2018-12536 jetty: full server path revealed when using the default Error ...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180627,reported=2...
: Security
Depends On: 1597419
Blocks: 1597422
  Show dependency treegraph
 
Reported: 2018-07-02 17:59 EDT by Laura Pardo
Modified: 2018-10-19 10:55 EDT (History)
14 users (show)

See Also:
Fixed In Version: jetty 9.3.24.v20180605, jetty 9.4.11.v20180605
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Laura Pardo 2018-07-02 17:59:06 EDT
A flaw was found 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.


References:
http://www.securitytracker.com/id/1041194 	
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535670
Comment 1 Laura Pardo 2018-07-02 18:00:23 EDT
Created jetty tracking bugs for this issue:

Affects: fedora-all [bug 1597419]
Comment 3 Doran Moppert 2018-09-20 02:34:13 EDT
Mitigation:

Information disclosure occurs when java.nio.file.InvalidPathException occurs and is handled by the default Jetty error handler. To protect against this, a custom error handler can be configured for that particular error or for a larger set of errors according to the documentation link below. Red Hat Product Security advises that production deployments on Jetty use custom error handlers to limit the information disclosed and to ensure effective logging of error conditions.

http://www.eclipse.org/jetty/documentation/current/custom-error-pages.html

Note You need to log in before you can comment on or make changes to this bug.