CVE-2018-19148 Details
Description
Caddy through 0.11.0 sends incorrect certificates for certain invalid requests, making it easier for attackers to enumerate hostnames. Specifically, when unable to match a Host header with a vhost in its configuration, it serves the X.509 certificate for a randomly selected vhost in its configuration. Repeated requests (with a nonexistent hostname in the Host header) permit full enumeration of all certificates on the server. This generally permits an attacker to easily and accurately discover the existence of and relationships among hostnames that weren't meant to be public, though this information could likely have been discovered via other methods with additional effort.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mholt/caddy/issues/1303 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/mholt/caddy/issues/2334 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/mholt/caddy/pull/2015 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/mholt/caddy/issues/1303 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/mholt/caddy/issues/2334 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/mholt/caddy/pull/2015 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://securitytrails.com/blog/caddy-web-server-ssl-bug | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| caddyserver caddy | <= 0.11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 30, 2019 | Initial Analysis | [email protected] |