CVE-2018-19148
Summary
| CVE | CVE-2018-19148 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-11-10 19:29:00 UTC |
| Updated | 2019-01-30 18:09:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-200
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Caddyserver | Caddy | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| tls: Restructure and improve certificate management by mholt · Pull Request #2015 · caddyserver/caddy · GitHub | MISC | github.com | Issue Tracking, Patch, Third Party Advisory |
| Caddy serves wrong SSL cert for site that is not served on HTTPS port · Issue #1303 · mholt/caddy · GitHub | MISC | github.com | Issue Tracking, Patch, Third Party Advisory |
| Making the Web a Better Place: Fixing Caddy Web Server Hostname Enumeration Vulnerability (CVE-2018-19148) | MISC | securitytrails.com | Exploit, Patch, Third Party Advisory |
| Problem with the way Caddy serves multiple certificates · Issue #2334 · caddyserver/caddy · GitHub | MISC | github.com | Issue Tracking, Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.