CVE-2018-12536

MEDIUMCVSS 5.3/10EPSS 4.33%

Last modified

CVE-2018-12536 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 4.33% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS Probability
4.33%

89.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
EclipseJetty>= 9.0.0, <= 9.2.26
EclipseJetty>= 9.3.0, < 9.3.24
EclipseJetty>= 9.4.0, < 9.4.11
OracleRetail Xstore Point Of Service7.1
OracleRetail Xstore Point Of Service15.0
OracleRetail Xstore Point Of Service16.0.0
OracleRetail Xstore Point Of Service17.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-12536?
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.
How severe is CVE-2018-12536?
CVE-2018-12536 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 4.33% probability of exploitation in the next 30 days.
How do I fix CVE-2018-12536?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-12536?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST