CVE search · CVE-2018-19148
CVE-2018-19148
low 3.7
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.
Details
- Status
- Modified
- Published
- Last changed
- Source
- cve@mitre.org
- Weakness
- CWE-200
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 3.0 | low 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
nvd@nist.govPrimary |
| CVSS 2.0 | medium 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
nvd@nist.govPrimary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
- caddyserver · caddy
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