CVE-2018-12536: Medium severity mortbay jetty vulnerability
Eclipse Jetty could allow a remote attacker to obtain sensitive information. An attacker could send a specially-crafted URL request to the java.nio.file.InvalidPathException function using an invalid parameter to cause an error message to be returned containing the full installation path. An attacker could use this information to launch further attacks against the affected system.
Other sources
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2018-12536?
CVE-2018-12536 is a vulnerability in Eclipse Jetty Server that could allow a remote attacker to obtain sensitive information.
How does the vulnerability in Eclipse Jetty Server occur?
The vulnerability occurs 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.
What is the severity of CVE-2018-12536?
CVE-2018-12536 has a severity rating of 5.3 (medium).
How do I check if I am affected by CVE-2018-12536?
You can check if you are affected by CVE-2018-12536 by verifying the version of Eclipse Jetty Server you are using.
How can I fix CVE-2018-12536?
To fix CVE-2018-12536, update your Eclipse Jetty Server installation to version 9.3.24.v20180605 or 9.4.11.v20180605.