Vulnerability 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 Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Caddyserver | Caddy | <= 0.11.0 |
Related Weaknesses (CWE)
References
- https://github.com/mholt/caddy/issues/1303Issue TrackingPatchThird Party Advisory
- https://github.com/mholt/caddy/issues/2334Issue TrackingPatchThird Party Advisory
- https://github.com/mholt/caddy/pull/2015Issue TrackingPatchThird Party Advisory
- https://securitytrails.com/blog/caddy-web-server-ssl-bugExploitPatchThird Party Advisory
- https://github.com/mholt/caddy/issues/1303Issue TrackingPatchThird Party Advisory
- https://github.com/mholt/caddy/issues/2334Issue TrackingPatchThird Party Advisory
- https://github.com/mholt/caddy/pull/2015Issue TrackingPatchThird Party Advisory
FAQ
What is CVE-2018-19148?
CVE-2018-19148 is a vulnerability with a CVSS score of 3.7 (LOW). 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 ...
How severe is CVE-2018-19148?
CVE-2018-19148 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-19148?
Check the references section above for vendor advisories and patch information. Affected products include: Caddyserver Caddy.