CVE-2018-19148
Caddy through 0.11.0 sends incorrect certificates for certain invalid requests, making it easier for attackers to enumerate hostnames.
Does this matter?
Lower severity and a low EPSS score (0.86%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.0
- 3.7 LOWCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS
- 0.86% probability · 57th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-200
- Affected
- caddyserver/caddy
- Source
- cve@mitre.org
References
- https://github.com/mholt/caddy/issues/1303Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/2334Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/pull/2015Issue Tracking, Patch, Third Party Advisory
- https://securitytrails.com/blog/caddy-web-server-ssl-bugExploit, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/1303Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/2334Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/pull/2015Issue Tracking, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.