{"cve":"CVE-2018-19148","nvd":{"published":"2018-11-10T19:29:00.227","modified":"2026-06-17T01:48:52.160","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7},"cwes":["CWE-200"],"references":["https://github.com/mholt/caddy/issues/1303","https://github.com/mholt/caddy/issues/2334","https://github.com/mholt/caddy/pull/2015","https://securitytrails.com/blog/caddy-web-server-ssl-bug","https://github.com/mholt/caddy/issues/1303"],"products":["caddyserver:caddy"],"source":"nvd","synced_at":"2026-10-19T20:53:59.789560037+00:00"},"epss":{"cve":"CVE-2018-19148","score":0.00862,"percentile":0.58574,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jf2w-mq6r-56v8","url":"https://osv.dev/vulnerability/GHSA-jf2w-mq6r-56v8","summary":"Caddy allows enumeration of Certificates and Hostnames","modified":"2024-04-24T20:28:39.184851Z","packages":[{"ecosystem":"Go","name":"github.com/caddyserver/caddy","purl":"pkg:golang/github.com/caddyserver/caddy","ranges":["<0.11.1"],"fixed":["0.11.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}