CVE-2018-19148
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.
Published
2018-11-10T19:29:00.227
Last Modified
2024-11-21T03:57:25.540
Status
Modified
Source
[email protected]
Severity
CVSSv3.0: 3.7 (LOW)
CVSSv2 Vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
- Access Vector: NETWORK
- Access Complexity: MEDIUM
- Authentication: NONE
- Confidentiality Impact: PARTIAL
- Integrity Impact: NONE
- Availability Impact: NONE
Exploitability Score
8.6
Impact Score
2.9
Weaknesses
Affected Vendors & Products
Type |
Vendor |
Product |
Version/Range |
Vulnerable? |
Application |
caddyserver
|
caddy
|
≤ 0.11.0 |
Yes
|
References
-
https://github.com/mholt/caddy/issues/1303
Issue Tracking, Patch, Third Party Advisory
([email protected])
-
https://github.com/mholt/caddy/issues/2334
Issue Tracking, Patch, Third Party Advisory
([email protected])
-
https://github.com/mholt/caddy/pull/2015
Issue Tracking, Patch, Third Party Advisory
([email protected])
-
https://securitytrails.com/blog/caddy-web-server-ssl-bug
Exploit, Patch, Third Party Advisory
([email protected])
-
https://github.com/mholt/caddy/issues/1303
Issue Tracking, Patch, Third Party Advisory
(af854a3a-2127-422b-91ae-364da2661108)
-
https://github.com/mholt/caddy/issues/2334
Issue Tracking, Patch, Third Party Advisory
(af854a3a-2127-422b-91ae-364da2661108)
-
https://github.com/mholt/caddy/pull/2015
Issue Tracking, Patch, Third Party Advisory
(af854a3a-2127-422b-91ae-364da2661108)