Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1qZjJ3LW1xNnItNTZ2OM4AAUTk

Caddy allows enumeration of Certificates and Hostnames

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.

Permalink: https://github.com/advisories/GHSA-jf2w-mq6r-56v8
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qZjJ3LW1xNnItNTZ2OM4AAUTk
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 2 years ago
Updated: 22 days ago


CVSS Score: 3.7
CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Identifiers: GHSA-jf2w-mq6r-56v8, CVE-2018-19148
References: Repository: https://github.com/mholt/caddy
Blast Radius: 12.3

Affected Packages

go:github.com/caddyserver/caddy
Dependent packages: 609
Dependent repositories: 2,153
Downloads:
Affected Version Ranges: < 0.11.1
Fixed in: 0.11.1
All affected versions: 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.12, 0.10.13, 0.10.14, 0.11.0
All unaffected versions: 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5