Lucene search

K
osvGoogleOSV:GHSA-JF2W-MQ6R-56V8
HistoryMay 14, 2022 - 1:37 a.m.

Caddy allows enumeration of Certificates and Hostnames

2022-05-1401:37:58
Google
osv.dev
2

6.9 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

47.0%

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.

CPENameOperatorVersion
github.com/caddyserver/caddylt0.11.1

6.9 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

47.0%

Related for OSV:GHSA-JF2W-MQ6R-56V8