CVE-2018-19148
NONE EPSS 54.0%
Published Nov 10, 20187y ago · Modified Jun 17, 20262w ago
Published Nov 10, 2018 7y ago
Last Modified Jun 17, 2026 2w ago
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.
Threat Intelligence
EPSS Exploit Probability
54.0% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Information Exposure
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| caddyserver | caddy | * | ≤0.11.0 |
References 4
- github.com https://github.com/mholt/caddy/issues/1303
- github.com https://github.com/mholt/caddy/issues/2334
- github.com https://github.com/mholt/caddy/pull/2015
- securitytrails.com https://securitytrails.com/blog/caddy-web-server-ssl-bug
Remediation
- github.com https://github.com/mholt/caddy/issues/1303
- github.com https://github.com/mholt/caddy/issues/2334
- github.com https://github.com/mholt/caddy/pull/2015
- securitytrails.com https://securitytrails.com/blog/caddy-web-server-ssl-bug