Information disclosure in Caddyserver Caddy

CVE-2018-19148

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.

Vulnerability class: Information Disclosure

EPSS: 0.009 (56.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.7 (Low). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • nvd@nist.gov (Exploit, Patch, Third Party Advisory)

Frequently asked questions

What is CVE-2018-19148?
CVE-2018-19148 is a low-severity vulnerability in Caddyserver Caddy, classified under Information Disclosure. CVSS score: 3.7/10. Published 2018-11-10.
How severe is CVE-2018-19148?
Low severity. CVSS v3 base score is 3.7 out of 10.