Vulnerability CVE-2018-19148


Published: 2018-11-10

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.

Type:

CWE-200

(Information Exposure)

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
Caddyserver -> Caddy 

 References:
https://github.com/mholt/caddy/issues/1303
https://github.com/mholt/caddy/issues/2334
https://github.com/mholt/caddy/pull/2015
https://securitytrails.com/blog/caddy-web-server-ssl-bug

Copyright 2024, cxsecurity.com

 

Back to Top