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.
Weakness
- CWE-209: Generation of Error Message Containing Sensitive Information
Timeline
- 2018-06-27Published by the CNA17:00 UTC
- 2018-10-19GitHub advisory published (GHSA-9rgv-h7x4-qw8g)114 days after publication
Exploit and advisory records
GitHub advisory GHSA-9rgv-h7x4-qw8g, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.eclipse.jetty:jetty-server | from 9.0.0 before 9.3.24.v20180605 | 9.3.24.v20180605 |
| Maven org.eclipse.jetty:jetty-server | from 9.4.0 before 9.4.11.v20180605 | 9.4.11.v20180605 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| eclipse jetty | from 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 listed | 9.3.249.4.11not listed |
| oracle retail_xstore_point_of_service | 15.0no fix listed16.0.0no fix listed17.0no fix listed7.1no fix listed | not listednot listednot listednot listed |
References
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=535670
- http://www.securitytracker.com/id/1041194
- https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3Cissues.activemq.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/05/msg00016.html
- https://security.netapp.com/advisory/ntap-20181014-0001/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03953en_us
- https://www.oracle.com/security-alerts/cpuoct2020.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-12536'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-12536'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-12536'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-12536'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).