Skip to main content
← All vulnerabilities
CVE-2018-19148GHSA-JF2W-MQ6R-56V8

Caddy through 0.11.0 sends incorrect certificates for certain invalid requests, making it easier for attackers to enumerate hostnames.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.11.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/caddyserver/caddyGo

    fixed in 0.11.1

References 3

GitHub · mholt/caddy