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.
References
Link Resource
https://github.com/mholt/caddy/issues/1303 Issue Tracking Patch Third Party Advisory
https://github.com/mholt/caddy/issues/2334 Issue Tracking Patch Third Party Advisory
https://github.com/mholt/caddy/pull/2015 Issue Tracking Patch Third Party Advisory
https://securitytrails.com/blog/caddy-web-server-ssl-bug Exploit Patch Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2018-11-10T19:00:00

Updated: 2018-11-10T18:57:01

Reserved: 2018-11-10T00:00:00


Link: CVE-2018-19148

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2018-11-10T19:29:00.227

Modified: 2019-01-30T18:09:41.997


Link: CVE-2018-19148

JSON object: View

cve-icon Redhat Information

No data.

CWE