~ / search / GHSA-jf2w-mq6r-56v8

GHSA-jf2w-mq6r-56v8

Caddy allows enumeration of Certificates and Hostnames

Source: GitHub Advisory Database (reviewed) Low CVE-2018-19148

Packages

EcosystemPackageAffectedFixed in
Go github.com/caddyserver/caddy < 0.11.1 0.11.1

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.