CVEvulnerability
CVE-2018-19148
3.7 LOW
Official page ↗
- Status
- Modified
- Published
- 2018-11-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 3.7 LOW — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-200
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.
Affected configurations
• caddyserver caddy (<= 0.11.0)
Related
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://github.com/mholt/caddy/issues/1303 Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/2334 Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/pull/2015 Issue Tracking, Patch, Third Party Advisory
- https://securitytrails.com/blog/caddy-web-server-ssl-bug Exploit, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/1303 Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/issues/2334 Issue Tracking, Patch, Third Party Advisory
- https://github.com/mholt/caddy/pull/2015 Issue Tracking, Patch, Third Party Advisory