CVE-2018-19148
Last modified
CVE-2018-19148 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Caddyserver | Caddy | <= 0.11.0 |
References
- https://github.com/mholt/caddy/issues/1303Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/2334Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/pull/2015Issue Tracking, Patch, Third Party Advisory
- https://securitytrails.com/blog/caddy-web-server-ssl-bugExploit, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/1303Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/2334Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/pull/2015Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-19148?
How severe is CVE-2018-19148?
How do I fix CVE-2018-19148?
Are you affected by CVE-2018-19148?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
